-
Notifications
You must be signed in to change notification settings - Fork 4
/
.prospector.yaml
50 lines (43 loc) · 1.05 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
inherits:
- duplicated
strictness: veryhigh
max-line-length: 110
doc-warnings: true
ignore-paths:
- c2cciutils/configuration.py
pylint:
disable:
- too-many-arguments
- too-many-branches
- too-many-locals
- too-many-statements
- too-many-nested-blocks
- too-many-lines
- too-few-public-methods
- line-too-long # done by Black
- missing-module-docstring
pycodestyle:
options:
max-line-length: 110
disable:
- W293 # blank line contains whitespace
- E501 # line too long, Done by Black
pydocstyle:
disable:
- D105 # Missing docstring in magic method
- D200 # One-line docstring should fit on one line with quotes
- D202 # No blank lines allowed after function docstring
- D203 # 1 blank line required before class
- D212 # Multi-line docstring summary should start at the first line
- D407 # Missing dashed underline after section
mypy:
run: true
bandit:
run: true
options:
config: .bandit.yaml
# Not working withy current Pyroma version
pyroma:
run: true
mccabe:
run: false