Re: [virt-manager PATCH 1/2] pycodestyle: add ignore option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/05/2017 03:01 AM, Chen Hanxiao wrote:
> From: Chen Hanxiao <chenhanxiao@xxxxxxxxx>
> 
>   Also disabled:
>    E128 continuation line under-indented for visual indent
> 
> Signed-off-by: Chen Hanxiao <chenhanxiao@xxxxxxxxx>
> ---
>  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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux