diff options
author | Joe Guo <joeg@catalyst.net.nz> | 2018-08-27 16:48:59 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2018-09-06 12:10:11 +0200 |
commit | bc188dd7a9fed4eb57a8259c56ca4de2d9a687f1 (patch) | |
tree | 5b94534531d2bee33005793de10f16dcd4383daf /setup.cfg | |
parent | c4c6ca5e0c06d616c995d6c6ff803b74caec513a (diff) | |
download | samba-bc188dd7a9fed4eb57a8259c56ca4de2d9a687f1.tar.gz |
PEP8: ignore rules and exclude files
Will fix other ones and come back to these later.
Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/setup.cfg b/setup.cfg index bb45d25c2f8..0752e0acbb5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,12 @@ [pycodestyle] +# refer to: https://pep8.readthedocs.io/en/1.4.6/intro.html#error-codes +# E126: continuation line over-indented for hanging indent +# E131: continuation line unaligned for hanging indent +# E203: whitespace before ':' +# E221: multiple spaces before operator # E501: line too long -ignore = E501 -exclude = bin,heimdal,wscript,third_party,wafsamba,tdb +# E722: do not use bare 'except' +ignore = E126,E131,E203,E221,E501,E722 +exclude = bin,heimdal,wscript,third_party,wafsamba,tdb,.ycm_extra_conf.py,examples,python/samba/subunit/run.py,autobuild.py show-source = true statistics = true |