diff options
-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 |