From: Joe Guo Date: Mon, 27 Aug 2018 04:48:59 +0000 (+1200) Subject: PEP8: ignore rules and exclude files X-Git-Tag: tdb-1.3.17~1735 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc188dd7a9fed4eb57a8259c56ca4de2d9a687f1;p=thirdparty%2Fsamba.git PEP8: ignore rules and exclude files Will fix other ones and come back to these later. Signed-off-by: Joe Guo Reviewed-by: Douglas Bagnall Reviewed-by: Andrew Bartlett --- 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