-
Notifications
You must be signed in to change notification settings - Fork 0
/
.prospector.yaml
56 lines (46 loc) · 1.13 KB
/
.prospector.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Base prospector configuration that's supposed to run fast.
# It is designed to be used in VsCode linters
# options: emacs, grouped, json, pylint, text, vscode, xunit, yaml
output-format: pylint # works best with VSCode problem matcher in tasks.json
# properties from default profile (no need to inherit)
strictness: veryhigh
test-warnings: true
doc-warnings: true
member-warnings: true
autodetect: false # detection does not work reliably
ignore-paths:
- .venv/
- .nox/
- .mypy_cache/
- docs/_build/
- docs/utils/
ignore-patterns:
- (^|/)\.venv(/|$)
max-line-length: 120
mccabe:
run: true
options:
max-complexity: 40
pydocstyle:
disable:
- D212 # go for summary on line 2 in multiline docstrings
- D203 # go for class docstring on line 1
mypy:
run: true
options:
ignore-missing-imports: true
follow-imports: skip
pylint:
run: true
options:
extension-pkg-whitelist: pydantic
max-args: 10
max-branches: 25
max-locals: 25
max-nested-blocks: 10
max-statements: 100
disable:
- logging-fstring-interpolation
pyflakes:
disable:
- F401 # prefer pylint unused-import/vulture