Skip to content

Commit

Permalink
prospector: add a configuration file for prospector
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
rgetz committed Apr 23, 2020
1 parent 0864ab8 commit 53d83cc
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .prospector.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# 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

pydocroma:
run: true

pep8:
run: true
disable: [
E501, # Line-length, already controlled by pylint
]

pep257:
run: true
# see http://pep257.readthedocs.io/en/latest/error_codes.html
disable: [
D203, # 1 blank line required before class docstring
# conflicts with D0211, No blank lines allowed before class docstring
]

0 comments on commit 53d83cc

Please sign in to comment.