diff --git a/setup.cfg b/setup.cfg index 81e0dc0..827f0d7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,7 +1,10 @@ [flake8] -ignore = W191,W293,E265,E266,E117,E402 +ignore = E117, # over-indented + W191, # indentation contains tabs + W293, # blank line contains whitespace + max-line-length = 220 -max-complexity = 30 +max-complexity = 20 exclude = ./.git, ./tests, @@ -10,4 +13,18 @@ exclude = ./docs [pylint] -disable = duplicate-code, invalid-name, mixed-indentation, missing-module-docstring, missing-class-docstring, missing-function-docstring, wrong-import-position, too-many-public-methods, too-many-return-statements, trailing-whitespace, bare-except, useless-return, bad-continuation, import-outside-toplevel, import-error +disable = duplicate-code, + invalid-name, + mixed-indentation, + missing-module-docstring, + missing-class-docstring, + missing-function-docstring, + wrong-import-position, + too-many-public-methods, + too-many-return-statements, + trailing-whitespace, + bare-except, + useless-return, + bad-continuation, + import-outside-toplevel, + import-error