Skip to content

Commit a0789e2

Browse files
timopollmeiergreenbonebot
authored andcommitted
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.
1 parent 285662e commit a0789e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gvm/errors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def __init__(
150150
*,
151151
function: Optional[str] = None,
152152
):
153-
# pylint: disable=super-init-not-called
153+
super().__init__(None)
154154
self.argument = argument
155155
self.function = function
156156
self.arg_type = arg_type

0 commit comments

Comments
 (0)