updated flake8 and pylint configuration

This commit is contained in:
tomaae 2019-12-06 01:16:02 +01:00
parent 732060e4fe
commit 6b9e1177d4

View file

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