2016-10-20 19:00:29 +02:00
|
|
|
strictness: veryhigh
|
|
|
|
doc-warnings: false
|
|
|
|
|
|
|
|
pylint:
|
|
|
|
disable:
|
|
|
|
- multiple-imports
|
|
|
|
- invalid-name
|
|
|
|
- trailing-whitespace
|
|
|
|
|
|
|
|
options:
|
|
|
|
max-args: 8 # default: 5
|
|
|
|
max-locals: 20 # default: 15
|
|
|
|
max-returns: 6
|
|
|
|
max-branches: 15 # default: 12
|
|
|
|
max-statements: 60 # default: 50
|
|
|
|
max-parents: 7
|
|
|
|
max-attributes: 8 # default: 7
|
|
|
|
min-public-methods: 1 # default: 2
|
|
|
|
max-public-methods: 20
|
|
|
|
max-bool-expr: 5
|
|
|
|
max-nested-blocks: 6 # default: 5
|
|
|
|
max-line-length: 80 # default: 100
|
|
|
|
ignore-long-lines: ^\s*(#\s+type:\s+.*|[A-Z0-9_]+\s+=\s+.*|('.*':\s+)?\[.*\],?)$
|
|
|
|
max-module-lines: 2500 # default: 10000
|
2016-09-08 13:54:40 +02:00
|
|
|
|
|
|
|
pep8:
|
|
|
|
disable:
|
2016-10-20 19:00:29 +02:00
|
|
|
- W191 # indentation contains tabs
|
|
|
|
- W293 # blank line contains whitespace
|
|
|
|
- E101 # indentation contains mixed spaces and tabs
|
|
|
|
- E401 # multiple imports on one line
|
|
|
|
- E501 # line too long
|
|
|
|
- E221 # multiple spaces before operator
|
|
|
|
|
|
|
|
pyflakes:
|
|
|
|
disable:
|
|
|
|
- F401 # module imported but unused
|
|
|
|
- F821 # undefined name
|
|
|
|
|
|
|
|
mccabe:
|
|
|
|
options:
|
|
|
|
max-complexity: 15
|