-
Notifications
You must be signed in to change notification settings - Fork 317
/
.prospector.yml
56 lines (46 loc) · 1.41 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
# prospector configuration file
---
output-format: grouped
strictness: veryhigh
doc-warnings: true
test-warnings: true
member-warnings: true
frosted:
run: false
pyroma:
run: false
mypy:
run: false
mccabe:
run: false
pylint:
run: false
pydocroma:
run: true
pyflakes:
run: true
pep8:
run: true
disable: [
N811, # false negatives from from ctypes import
E501, # Line-length, already controlled by pylint
E302, # expected 2 blank lines, found 1, controlled by black
]
pep257:
run: true
# see http://pep257.readthedocs.io/en/latest/error_codes.html
disable: [
# numpy convention
D107, # Missing docstring in __init__
D203, # 1 blank line required before class docstring
# conflicts with D0211, No blank lines allowed before class docstring
D205, # 1 blank line required between summary line and description
D212, # Multi-line docstring summary should start at the first line
# Conflictes with D213 / Multi-line docstring summary should start at the second line
D213, # Multi-line docstring summary should start at the second line
D402, # First line should not be the function's "signature"
# conflicts with D213, Multi-line docstring summary should start at the second line
D406, # Section name should end with a newline
D407, # Missing dashed underline after section
D413, # Missing blank line after last section
]