-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.prospector.yml
65 lines (59 loc) · 1.85 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
58
59
60
61
62
63
64
strictness: veryhigh
ignore-paths:
- mad_gui\qt_designer\ui_video.py
- mad_gui/qt_designer/ui_video.py
- mad_gui\qt_designer\ui_axisSelector.py
- mad_gui/qt_designer/ui_axisSelector.py
- mad_gui\qt_designer\window_buttons_rc.py
- mad_gui/qt_designer/window_buttons_rc.py
- mad_gui/consts.py
- mad_gui\consts.py
- docs\
- docs/
- dodo.py
- setup.py
- libs/
- study/
- study\
- .venv/
pep8:
options:
max-line-length: 120
disable:
- E127
- W391
- E203 # ignoring white space before colon :
pep257:
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
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
extension-pkg-whitelist: PySide2
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
- invalid-name # PyQt has events that are camelCase
- super-init-not-called
- redundant-keyword-arg
- wrong-import-order # handled by isort
- use-symbolic-message-instead