[elbe-devel] [PATCH v2 09/66] commands fetch_initvm_pkgs: Fix Pylint
Olivier Dion
dion at linutronix.de
Fri Jun 5 19:06:33 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>
Acked-by: Torben Hohn <torben.hohn at linutronix.de>
---
elbepack/commands/fetch_initvm_pkgs.py | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/elbepack/commands/fetch_initvm_pkgs.py b/elbepack/commands/fetch_initvm_pkgs.py
index 992f1af9..e9ba0a1b 100644
--- a/elbepack/commands/fetch_initvm_pkgs.py
+++ b/elbepack/commands/fetch_initvm_pkgs.py
@@ -24,6 +24,16 @@ from elbepack.aptpkgutils import fetch_binary
def run_command(argv):
+
+ # TODO - Set threshold and remove pylint directives
+ #
+ # We might want to make the threshold higher for certain
+ # files/directories or just globaly.
+
+ # 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.27.0
More information about the elbe-devel
mailing list