From 2ab915ba4d9d357fd37010cbeea69c867d6d73ea Mon Sep 17 00:00:00 2001 From: Andreas Zeller Date: Tue, 27 Aug 2024 17:02:24 +0200 Subject: [PATCH] More whitelisted python style issues --- code/pycodestyle.cfg | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/code/pycodestyle.cfg b/code/pycodestyle.cfg index 3073480bb..d30319b2b 100644 --- a/code/pycodestyle.cfg +++ b/code/pycodestyle.cfg @@ -10,6 +10,15 @@ # - W504 line break after binary operator (frequently generated by autopep8) # - E722 do not use bare 'except' (we use this to illustrate a problem) # - E30* various blank line counts (generated) +# - E266 too many leading '#' for block comment +# - E702 multiple statements on one line (semicolon) +# - W293 blank line contains whitespace +# - E301 expected 1 blank line, found 0 +# - E121 continuation line under-indented for hanging indent +# - E126 continuation line over-indented for hanging indent +# - E127 continuation line over-indented for visual indent +# - E128 continuation line under-indented for visual indent +# = E129 visually indented line with same indent as next logical lin [pycodestyle] -ignore = W291,E501,E402,W391,E703,W503,W504,E722,E302,E303,E305 +ignore = W291,E501,E402,W391,E703,W503,W504,E722,E302,E303,E305,E266,E702,W293,E301,E121,E126,E127,E128,E129