diff --git a/setup.cfg b/setup.cfg index b82ce49..8fe822e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,22 +2,20 @@ ignore = W293, # blank line contains whitespace max-line-length = 220 -max-complexity = 20 +max-complexity = 10 exclude = ./.git, ./tests, ./.github, __pycache__, ./docs +# Run with: pylint --rcfile=setup.cfg --load-plugins=pylint.extensions.mccabe custom_components [pylint] disable = duplicate-code, - missing-module-docstring, - missing-class-docstring, - missing-function-docstring, - trailing-whitespace, - bare-except, + too-many-public-methods, useless-return, import-error, - simplifiable-if-expression, too-many-arguments, - too-many-instance-attributes + too-many-instance-attributes, + simplifiable-if-expression, + #bare-except,