-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.prospector.yaml
62 lines (55 loc) · 1.49 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
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
62
inherits:
- duplicated
strictness: veryhigh
max-line-length: 110
doc-warnings: true
ignore-paths:
- tilecloud_chain/configuration.py
pylint:
disable:
- too-many-statements
- too-many-branches
- too-many-instance-attributes
- too-many-locals
- too-many-return-statements
- too-many-boolean-expressions
- too-many-arguments
- too-many-nested-blocks
- too-many-lines
- too-many-public-methods
- too-few-public-methods
- line-too-long # done by black
- no-else-return
- no-else-break
- invalid-name
- broad-except
- abstract-method
- duplicate-string-formatting-argument
- cyclic-import
- missing-module-docstring
- missing-function-docstring
- missing-timeout # done globally by c2cwsgiutils
pycodestyle:
disable:
- E722 # Do not use bare 'except'
- E501 # Line too long
pydocstyle:
disable:
- D102 # Missing docstring in public method
- D104 # Missing docstring in public package
- D107 # Missing docstring in __init__
- D202 # No blank lines allowed after function docstring (found 1)
- D203 # 1 blank line required before class docstring (found 0)
- D212 # Multi-line docstring summary should start at the first line
- D407 # Missing dashed underline after section ('Arguments')
- D412 # No blank lines allowed between a section header and its content ('Arguments')
mypy:
run: true
mccabe:
run: false
bandit:
run: true
options:
config: .bandit.yaml
pyorama:
run: true