-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pylintrc
36 lines (24 loc) · 910 Bytes
/
.pylintrc
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
[MASTER]
# Use multiple processes to speed up Pylint.
jobs=4
# 2. Don’t use the ELSE keyword
# 4. First class collections
# 7. Keep all entities small
# 9. No getters/setters/properties
# List of plugins (as comma separated values of python modules names) to load,
# usually to register additional checkers.
# load-plugins=no_else,first_class_collections,one_dot_per_line,two_instance_variables,small_entities,no_properties
[MESSAGES CONTROL]
disable=missing-docstring,
too-few-public-methods
[REFACTORING]
# 1. One level of indentation per method
# Maximum number of nested blocks for function / method body
max-nested-blocks=1
[DESIGN]
# 1. One level of indentation per method (stronger)
# Maximum number of branch for function / method body
# max-branches=1
# 8. No classes with more than two instance variables
# Maximum number of attributes for a class (see R0902).
max-attributes=2