[elbe-devel] [PATCH 73/75] elbe: Fix Pylint

Olivier Dion dion at linutronix.de
Mon May 25 17:43:06 CEST 2020


35:0: C0325: (superfluous-parens)
13:0: W0611: (unused-import)
16:0: W0611: (unused-import)

Signed-off-by: Olivier Dion <dion at linutronix.de>
---
 elbe | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/elbe b/elbe
index 8ba6ef1d..30059872 100755
--- a/elbe
+++ b/elbe
@@ -10,9 +10,11 @@
 
 from __future__ import print_function
 
+# pylint: disable=unused-import
 import os
 import sys
 
+# pylint: disable=unused-import
 import elbepack.commands
 from elbepack.version import elbe_version
 from elbepack.directories import init_directories, get_cmdlist
@@ -32,7 +34,7 @@ def usage():
 
 init_directories(__file__)
 
-if (len(sys.argv) < 2):
+if len(sys.argv) < 2:
     usage()
     sys.exit(20)
 
-- 
2.26.2




More information about the elbe-devel mailing list