forked from arista-eosplus/ztpserver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pylintrc
63 lines (44 loc) · 1.2 KB
/
.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
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
[FORMAT]
[BASIC]
method-rgx=[a-z_][a-z0-9_]{2,50}$
[MESSAGES CONTROL]
# Used when an except catches Exception instances.
disable=W0703
# Too many branches
disable=R0912
# Too many return statements
disable=R0911
# No exception type specified
disable=W0702
# Disable statistics by type
disable=RP0101
# Allow local disables
# Missing docstring
# Abstract class not referenced
# Similar lines in 2 files
disable=I0011,C0111,R0921,R0801
[REPORTS]
# Include message's id in output
include-ids=yes
# Tells wether to display a full report or only the messages
reports=no
[FORMAT]
max-module-lines=2000
[DESIGN]
# Maximum number of locals for function / method body
max-locals=20
# Maximum number of return / yield for function / method body
max-returns=20
# Maximum number of branch for function / method body
# pylint bug
max-branchs=30
# Maximum number of statements in function / method body
max-statements=100
# Maximum number of arguments for function / method
max-args=10
# Minimum number of public methods for a class (see R0903).
min-public-methods=0
# Maximum number of public methods for a class (see R0904).
max-public-methods=600
# Maximum number of attributes for a class (see R0902).
max-attributes=20