Skip to content

Commit 53d83cc

Browse files
committed
prospector: add a configuration file for prospector
The pep257 tool (part of prospector) has two rules: D203: 1 blank line required before class docstring D211: No blank lines allowed before class docstring Which conflict, so turn D203 off. Signed-off-by: Robin Getz <[email protected]>
1 parent 0864ab8 commit 53d83cc

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.prospector.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# prospector configuration file
2+
3+
---
4+
output-format: grouped
5+
strictness: veryhigh
6+
doc-warnings: true
7+
test-warnings: true
8+
member-warnings: true
9+
10+
frosted:
11+
run: false
12+
13+
pyroma:
14+
run: false
15+
16+
mypy:
17+
run: false
18+
19+
pydocroma:
20+
run: true
21+
22+
pep8:
23+
run: true
24+
disable: [
25+
E501, # Line-length, already controlled by pylint
26+
]
27+
28+
pep257:
29+
run: true
30+
# see http://pep257.readthedocs.io/en/latest/error_codes.html
31+
disable: [
32+
D203, # 1 blank line required before class docstring
33+
# conflicts with D0211, No blank lines allowed before class docstring
34+
]

0 commit comments

Comments
 (0)