From a0789e2c17bf8ce7d935c3cd24f6add8306af47f Mon Sep 17 00:00:00 2001 From: Timo Pollmeier Date: Tue, 19 Dec 2023 09:40:56 +0100 Subject: [PATCH] Fix: Add InvalidArgumentType superclass init The class InvalidArgumentType now explicitly calls the superclass initializer, making it more explict that the message is set to None. --- gvm/errors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gvm/errors.py b/gvm/errors.py index cad7b0ddb..ca042e2ee 100644 --- a/gvm/errors.py +++ b/gvm/errors.py @@ -150,7 +150,7 @@ def __init__( *, function: Optional[str] = None, ): - # pylint: disable=super-init-not-called + super().__init__(None) self.argument = argument self.function = function self.arg_type = arg_type