-
Notifications
You must be signed in to change notification settings - Fork 14
/
.prospector.yml
91 lines (80 loc) · 1.65 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
strictness: veryhigh
test-warnings: true
doc-warnings: true
autodetect: false
max-line-length: 170
pep8:
full: true
# disable:
# - N803 # argument name should be lowercase
# - N806 # variable in function should be lowercase
# - N812 # lowercase imported as non lowercase
pylint:
run: true
disable:
- too-many-instance-attributes
- too-many-locals
- too-many-arguments
- abstract-method
- pointless-string-statement
- no-self-use
- too-many-statements
- too-few-public-methods
- unnecessary-pass
- too-many-lines
- too-many-public-methods
- too-many-branches
- broad-exception-raised
- too-many-positional-arguments
- possibly-used-before-assignment
- consider-using-min-builtin
- consider-using-max-builtin
# disable:
# - too-many-locals
# - arguments-differ
# - no-else-return
# - inconsistent-return-statements
pep257:
run: true
# disable:
# - D203 # 1 blank line required before class docstring
# - D212 # Multi-line docstring summary should start at the first line
# - D213 # Multi-line docstring summary should start at the second line
pycodestyle:
disable:
- N806
- N803
- N802
- E128
- E122
- E203
pydocstyle:
run: true
disable:
- D401
- D210
- D202
- D213
- W293
- D211
- D203
mypy:
run: true
bandit:
run: false
options:
config: .bandit.yml
#frosted:
# run: true
pyroma:
run: false
vulture:
run: false
disable:
- unused-variable
- unused-function
- unused-attribute
mccabe:
run: true
disable:
- MC0001