1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
[flake8]
select = B,B9,C,D,DAR,E,F,N,RST,S,W
# Some rules are ignore on top of the standard ones.
# C901 (complexity) will be processed in a dedicated PR
# DARxxx (documentation in docstrings) will be processed in a dedicated PR
# Final target is:
# ignore = E203,E501,RST201,RST203,RST301,W503
ignore = E203,E501,RST201,RST203,RST301,W503,C901,DAR101,DAR201,N818
max-line-length = 80
max-complexity = 10
docstring-convention = google
per-file-ignores =
tests/*:S101,S105
tests/**/const_*.py:B950
src/synology_dsm/const.py:B950
|