[elbe-devel] [PATCH 09/75] commands fetch_initvm_pkgs: Fix Pylint

Olivier Dion dion at linutronix.de
Mon May 25 17:42:02 CEST 2020


26:0: R0914: (too-many-locals)
26:0: R0912: (too-many-branches)
26:0: R0915: (too-many-statements)

Signed-off-by: Olivier Dion <dion at linutronix.de>
---
 elbepack/commands/fetch_initvm_pkgs.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/elbepack/commands/fetch_initvm_pkgs.py b/elbepack/commands/fetch_initvm_pkgs.py
index 992f1af9..f47c6887 100644
--- a/elbepack/commands/fetch_initvm_pkgs.py
+++ b/elbepack/commands/fetch_initvm_pkgs.py
@@ -24,6 +24,9 @@ from elbepack.aptpkgutils import fetch_binary
 
 
 def run_command(argv):
+    # pylint: disable=too-many-locals
+    # pylint: disable=too-many-branches
+    # pylint: disable=too-many-statements
     oparser = OptionParser(
         usage="usage: %prog fetch_initvm_pkgs [options] <xmlfile>")
 
-- 
2.26.2




More information about the elbe-devel mailing list