-
Notifications
You must be signed in to change notification settings - Fork 10
/
.prospector.yml
61 lines (53 loc) · 971 Bytes
/
.prospector.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
output-format: text
strictness: veryhigh
test-warnings: true
doc-warnings: false
member-warnings: true
uses:
- django
pep8:
full: true
disable:
- D100
- D101
- D102
- D103
- D105
- D205
- D400
- N811 # constant imported as non constant, breaks for Django's `Q`
- N802 # function name should be lowercase, breaks for some Django test methods
options:
max-line-length: 100
pyflakes:
disable:
- F999
pylint:
disable:
- invalid-name
- no-else-return
- no-member
- no-self-use
- protected-access
- super-init-not-called
- too-few-public-methods
- too-many-public-methods
- too-many-arguments
- too-many-instance-attributes
options:
max-line-length: 100
max-parents: 15
dodgy:
run: true
ignore-paths:
- node_modules
- venv
- env
- docs
ignore-patterns:
- .+/migrations/.+
- tests/settings.py
- setup.py
- runtests.py
- manage.py
- .tox/.+