mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-08-18 00:09:08 +02:00
updated flake8 and pylint configuration
This commit is contained in:
parent
732060e4fe
commit
6b9e1177d4
1 changed files with 6 additions and 8 deletions
14
setup.cfg
14
setup.cfg
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue