-
Notifications
You must be signed in to change notification settings - Fork 173
/
.prospector.yml
76 lines (67 loc) · 1.35 KB
/
.prospector.yml
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
output-format: grouped
# strictness: veryhigh
# doc-warnings: no
# test-warnings: no
max-line-length: 120
# pep8: full
ignore-paths:
- docs/
mypy:
run: true
options:
ignore-missing-imports: true
follow-imports: skip
check-untyped-defs: true
disallow-any-generics: true
disallow-untyped-defs: true
disallow-incomplete-defs: true
disallow-untyped-decorators: true
warn-unused-configs: true
warn-unused-ignores: true
warn-redundant-casts: true
extra-checks: true
pylint:
options:
extension-pkg-allow-list: mypy
disable:
- too-few-public-methods
- missing-docstring
- star-args
- consider-using-f-string
- too-many-locals # TODO: clean up these complexity problems
- too-many-branches
- too-many-arguments
- too-many-instance-attributes
- too-many-function-args
- too-many-statements
- too-many-positional-arguments
- no-else-return
mccabe:
run: false
pycodestyle:
disable:
- E126
- E501 # line too long
pydocstyle:
run: false
disable:
- D100
- D101
- D102
- D103
- D107
- D205
- D400
- D401
bandit:
run: true
disable:
- B101 # Use of assert detected.
ruff:
run: true
options:
fix: true
disable:
- E501 # line too long
- S101 # Use of assert detected
- SIM105 # suppressible-exception (slow code)