[elbe-devel] [PATCH 1/5] commands: check-build: disable pylint messages

Torben Hohn torben.hohn at linutronix.de
Wed Sep 8 17:01:34 CEST 2021


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

diff --git a/elbepack/commands/check-build.py b/elbepack/commands/check-build.py
index be5f44c09..ce2fe6da2 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")
+        # pylint: disable=unreachable
         return 0
 
     def fail(self, reason):
@@ -262,6 +263,8 @@ class CheckCdroms(CheckBase):
 
         # For every bin-cdrom, create a temporary directory where to
         # extract it and find all *.deb files
+        #
+        # pylint: disable=too-many-nested-blocks
         for cdrom in glob.glob("bin-cdrom*"):
             with TmpdirFilesystem() as tmp:
                 self.extract_cdrom(tmp.path, cdrom)
-- 
2.20.1



More information about the elbe-devel mailing list