mirror of
https://github.com/dtomlinson91/street_group_tech_test
synced 2025-12-22 03:55:43 +00:00
78 lines
1.4 KiB
YAML
78 lines
1.4 KiB
YAML
# This will enable almost every single warning
|
|
output-format: vscode
|
|
doc-warnings: true
|
|
# allow-shorthand: false
|
|
strictness: none
|
|
|
|
ignore-patterns:
|
|
- (^|/)\..+
|
|
|
|
pylint:
|
|
run: true
|
|
disable:
|
|
- fixme
|
|
- bad-continuation
|
|
- missing-module-docstring
|
|
- logging-fstring-interpolation
|
|
- missing-function-docstring
|
|
- abstract-method
|
|
- missing-class-docstring
|
|
- super-init-not-called
|
|
- arguments-differ
|
|
enable:
|
|
|
|
options:
|
|
max-locals: 15
|
|
max-returns: 6
|
|
max-branches: 12
|
|
max-statements: 50
|
|
# max-parents: 7
|
|
max-attributes: 20
|
|
min-public-methods: 0
|
|
max-public-methods: 25
|
|
max-module-lines: 1000
|
|
max-line-length: 88
|
|
|
|
mccabe:
|
|
run: true
|
|
options:
|
|
max-complexity: 10
|
|
|
|
pep8:
|
|
run: true
|
|
options:
|
|
max-line-length: 88
|
|
single-line-if-stmt: n
|
|
disable:
|
|
- E501 # line too long
|
|
|
|
pyroma:
|
|
run: false
|
|
disable:
|
|
- PYR19
|
|
- PYR16
|
|
|
|
pep257:
|
|
disable:
|
|
- D000
|
|
- D203
|
|
# - D213
|
|
- D212 # multiline docstrings on first line only.
|
|
- D404
|
|
- D100
|
|
- D407 # numpy docstring format
|
|
- D107 # missing docstring in __init__
|
|
# Docstrings ending with newlines and : in Returns block.
|
|
- D413
|
|
- D406
|
|
- D103
|
|
- D101 # missing docstring in public class
|
|
- D102 # missing docstring in public method
|
|
|
|
pyflakes:
|
|
disable:
|
|
- F401 # unused import
|
|
|
|
dodgy:
|
|
run: true
|