mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-08-02 00:44:31 +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
|
||||
|
||||
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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue