forked from e-valuation/EvaP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.prospector.yaml
31 lines (31 loc) · 1.25 KB
/
.prospector.yaml
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
uses:
- django
ignore-paths:
- deployment
- evap/static
- evap/static_collected
- src
python-targets:
- 3
test-warnings: true
doc-warnings: no
strictness: veryhigh
pep8:
disable:
- E501 # line too long - we don't enforce some fixed line length but rather complain about long lines in reviews.
- W503 # line break before operator - looks better and PEP8 allows it
- E128 # hanging indents not allowed - we indent differently
- E126 # overindentation - we indent differently
- N802 # function name should be lowercase - lots of false positives in tests that pylint doesn't show
- N803 # argument name should be lowercase - pylint has this as well (and there we tweaked it)
- N806 # variable in function should be lowercase - lots of false positives, mostly Formset classes made from factories
- N804 # first argument of a classmethod should be named 'cls' - one false positive and pylint does it better
- E266 # too many leading '#' for block comment - that's used in settings on purpose
pyflakes:
disable:
- F999 # python >3.5 triggers this
- E701 # type annotations trigger this.
- F403 # pylint handles this.
- F401 # pylint handles this.
pylint:
run: false # we run pylint on travis