[virt-tools-list] [virt-manager PATCH 1/2] pycodestyle: add ignore	option
    Chen Hanxiao 
    chen_han_xiao at 126.com
       
    Sat Aug  5 07:01:16 UTC 2017
    
    
  
From: Chen Hanxiao <chenhanxiao at gmail.com>
  Also disabled:
   E128 continuation line under-indented for visual indent
Signed-off-by: Chen Hanxiao <chenhanxiao at gmail.com>
---
 setup.py | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/setup.py b/setup.py
index 6f4b37b..f042037 100755
--- a/setup.py
+++ b/setup.py
@@ -579,11 +579,13 @@ class CheckPylint(distutils.core.Command):
 
         output_format = sys.stdout.isatty() and "colorized" or "text"
         exclude = ["virtinst/progress.py"]
+        ignore = ["E128"]
 
         print("running pycodestyle")
         cmd = "pycodestyle "
         cmd += "--config tests/pycodestyle.cfg "
         cmd += "--exclude %s " % ",".join(exclude)
+        cmd += "--ignore %s " % ",".join(ignore)
         cmd += " ".join(files)
         os.system(cmd)
 
-- 
2.7.5
    
    
More information about the virt-tools-list
mailing list