[elbe-devel] [PATCH 02/16] commands: check-build: fix pylint

Torben Hohn torben.hohn at linutronix.de
Wed Jul 28 17:40:38 CEST 2021


elbepack/commands/check-build.py:78:12: E1111: Assigning result of a function call, where the function has no return (assignment-from-no-return)

Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
---
 elbepack/commands/check-build.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/elbepack/commands/check-build.py b/elbepack/commands/check-build.py
index 65ab2b0be..be5f44c09 100644
--- a/elbepack/commands/check-build.py
+++ b/elbepack/commands/check-build.py
@@ -94,6 +94,7 @@ class CheckBase:
     # pylint: disable=no-self-use
     def run(self):
         raise Exception("Check run method not implemented")
+        return 0
 
     def fail(self, reason):
         raise CheckException(reason)
-- 
2.20.1



More information about the elbe-devel mailing list