2019-12-02 03:18:11 +01:00
|
|
|
[flake8]
|
2023-01-16 01:36:09 +01:00
|
|
|
ignore = W293
|
2019-12-02 17:59:30 +01:00
|
|
|
|
2019-12-02 03:18:11 +01:00
|
|
|
max-line-length = 220
|
2019-12-06 01:16:02 +01:00
|
|
|
max-complexity = 10
|
2019-12-02 19:20:34 +01:00
|
|
|
exclude = ./.git,
|
|
|
|
./tests,
|
|
|
|
./.github,
|
|
|
|
__pycache__,
|
2023-01-16 01:25:35 +01:00
|
|
|
./docs,
|
2019-12-08 18:13:46 +01:00
|
|
|
./custom_components/mikrotik_router/librouteros_custom
|
2019-12-02 03:18:11 +01:00
|
|
|
|
2019-12-06 01:16:02 +01:00
|
|
|
# Run with: pylint --rcfile=setup.cfg --load-plugins=pylint.extensions.mccabe custom_components
|
2019-12-02 03:18:11 +01:00
|
|
|
[pylint]
|
2019-12-02 17:59:30 +01:00
|
|
|
disable = duplicate-code,
|
2019-12-06 01:16:02 +01:00
|
|
|
too-many-public-methods,
|
2019-12-02 19:20:34 +01:00
|
|
|
useless-return,
|
|
|
|
import-error,
|
|
|
|
too-many-arguments,
|
2019-12-06 01:16:02 +01:00
|
|
|
too-many-instance-attributes,
|
|
|
|
simplifiable-if-expression,
|
2023-01-16 01:25:35 +01:00
|
|
|
bare-except
|