[elbe-devel] [PATCH 08/16] commands: test fix pylint
Torben Hohn
torben.hohn at linutronix.de
Wed Jul 28 17:40:44 CEST 2021
elbepack/commands/test.py:27:4: W0231: __init__ method from base class 'Exception' is not called (super-init-not-called)
call super().__init__() without parameters, since __repr__() and __str__()
are overridden anyways.
Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
---
elbepack/commands/test.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/elbepack/commands/test.py b/elbepack/commands/test.py
index ef6882b6e..44527715f 100644
--- a/elbepack/commands/test.py
+++ b/elbepack/commands/test.py
@@ -25,6 +25,7 @@ class ElbeTestLevel(enum.IntEnum):
class ElbeTestException(Exception):
def __init__(self, cmd, ret, out):
+ super().__init__()
self.cmd = cmd
self.ret = ret
self.out = out
--
2.20.1
More information about the elbe-devel
mailing list