File: .flake8

package info (click to toggle)
python-synologydsm-api 2.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,364 kB
  • sloc: python: 27,201; sh: 25; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 540 bytes parent folder | download
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