mirror of
https://github.com/dtomlinson91/street_group_tech_test
synced 2025-12-22 11:55:45 +00:00
adding prospector.yaml
This commit is contained in:
68
prospector.yaml
Normal file
68
prospector.yaml
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
# 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
|
||||||
|
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
|
||||||
|
|
||||||
|
|
||||||
|
dodgy:
|
||||||
|
run: true
|
||||||
Reference in New Issue
Block a user