Skip to content

Commit 613c5ff

Browse files
committed
Example of increased strictness on linting
1 parent f0c9724 commit 613c5ff

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

prospector.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
strictness: low
1+
strictness: medium
22

33
test-warnings: false
44
doc-warnings: true
@@ -8,26 +8,27 @@ uses:
88
- celery
99

1010
ignore-paths:
11-
- projects
1211
- docs
1312

1413
ignore-patterns:
1514
- /migrations/
1615

1716
pep8:
18-
full: true
19-
options:
20-
max-line-length: 100
21-
disable:
22-
- N806
17+
full: true
18+
options:
19+
max-line-length: 100
2320

2421
pylint:
25-
max-line-length: 100
22+
options:
23+
docstring-min-length: 10
24+
dummy-variables-rgx: '_$|__$|dummy'
25+
max-line-length: 100
2626
disable:
27-
- logging-format-interpolation
27+
- logging-format-interpolation
28+
- too-many-arguments
2829

2930
mccabe:
3031
run: false
3132

3233
pep257:
33-
run: false
34+
run: true

0 commit comments

Comments
 (0)