forked from miohtama/vvv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalidation-options.yaml
49 lines (35 loc) · 1.03 KB
/
validation-options.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
linelength:
length: 250
# Python additional configuration
pylint:
host-python-env: true
python3k: true
configuration: |
[BASIC]
# Allow one letter variables
variable-rgx=.*$
# Regular expression which should only match correct instance attribute names.
# Allow two letter attributes
attr-rgx=.*$
# Allow module level lowercase variables
const-rgx=(([a-zA-Z_][a-zA-Z0-9_]*)|(__.*__))$
[FORMAT]
max-line-length=250
[MISCELLANEOUS]
# Don't fail validation because of our notes
notes=
#notes=FIXME,XXX,TODO
[DESIGN]
# Maximum number of arguments for function / method
max-args=12
# Maximum number of attributes for a class (see R0902).
max-attributes=25
# Maximum number of locals for function / method body
max-locals=25
[MESSAGES CONTROL]
# Disable:
# - Missing docstring
# :C0112: *Empty docstring*
# :R0903: *Too few public methods (%s/%s)*
# :R0904: *Too many public methods (%s/%s)*
disable = C0111, C0112, R0903, R0904