s3:pylibsmb: make use of protocol independent cli_write_send/recv in py_cli_write()
[garming/samba-autobuild/.git] / setup.cfg
index bb45d25c2f8ed2cfb9492b5c425a0c925157ecda..0752e0acbb532690f21617ef951ed97049ccba46 100644 (file)
--- 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