-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.prospector.yml
57 lines (52 loc) · 1.6 KB
/
.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
strictness: veryhigh
doc-warnings: true
autodetect: false
ignore-paths:
- docs
- tests
- dodo.py
- examples
- _tasks.py
- example_data
- dist
- eargait/utils/helper_gaitmap.py
- matlab_run_gait_analysis_pipeline.py
pycodestyle:
options:
max-line-length: 120
disable:
- E127
- W391
- E203 # ignoring white space before colon :
pydocstyle:
options:
convention: numpy
disable:
- D404
- D100 # Missing docstring in public module, handled by pylint
- D101 # Missing docstring in public class, handled by pylint
- D102 # Missing docstring in public method, handled by pylint
- D103 # Missing docstring in public function, handled by pylint
- D104 # Missing docstring in public package, handled by pylint
- D107 # Missing docstrings in __init__, we don't have them by convention
- D203 # Blank line required before class docstring
- D213 # Docstring Summary should start in second line
pylint:
options:
max-line-length: 120
max-args: 9
variable-rgx: "[a-z_][a-z0-9_]{0,30}$" # Allow for single letter variable names
argument-rgx: "[a-z_][a-z0-9_]{0,30}$" # Allow for single letter argument names
class-rgx: "[A-Z_][a-zA-Z0-9]*" # Allow for single letter class names
disable:
- too-many-ancestors
- too-few-public-methods
- too-many-arguments
- too-many-instance-attributes
- abstract-method
- invalid-unary-operand-type
- too-many-locals # ignore the use of more than 15 local variables
- invalid-unary-operand-type
- protected-access
- too-many-lines
- missing-function-docstring