On 08/05/2017 03:01 AM, Chen Hanxiao wrote:
> From: Chen Hanxiao <chenhanx...@gmail.com>
> 
>   Also disabled:
>    E128 continuation line under-indented for visual indent
> 
> Signed-off-by: Chen Hanxiao <chenhanx...@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)
>  
> 

E128 is already ignored in tests/pycodestyle.cfg, is that not working for you?

- Cole

_______________________________________________
virt-tools-list mailing list
virt-tools-list@redhat.com
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to