1# prospector configuration file
2
3---
4output-format: grouped
5strictness: veryhigh
6doc-warnings: true
7test-warnings: true
8member-warnings: true
9
10frosted:
11  run: false
12
13pyroma:
14  run: false
15
16mypy:
17  run: false
18
19mccabe:
20  run: false
21
22pylint:
23  run: false
24
25pydocroma:
26  run: true
27
28pyflakes:
29  run: true
30
31pep8:
32  run: true
33  disable: [
34    N811,  # false negatives from from ctypes import
35    E501,  # Line-length, already controlled by pylint
36    E302,  # expected 2 blank lines, found 1, controlled by black
37  ]
38
39pep257:
40  run: true
41    # see http://pep257.readthedocs.io/en/latest/error_codes.html
42  disable: [
43    # numpy convention
44    D107,  # Missing docstring in __init__
45    D203,  # 1 blank line required before class docstring
46           # conflicts with D0211, No blank lines allowed before class docstring
47    D205,  # 1 blank line required between summary line and description
48    D212,  # Multi-line docstring summary should start at the first line
49           # Conflictes with D213 / Multi-line docstring summary should start at the second line
50    D213,  # Multi-line docstring summary should start at the second line
51    D402,  # First line should not be the function's "signature"
52           # conflicts with D213, Multi-line docstring summary should start at the second line
53    D406,  # Section name should end with a newline
54    D407,  # Missing dashed underline after section
55    D413,  # Missing blank line after last section
56  ]
57