summaryrefslogtreecommitdiff
path: root/pylintrc
blob: def9c979d985399b7aaed1e3b364bcbcb213f5f1 (plain)
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
[MESSAGES CONTROL]

# Disable the message(s) with the given id(s).
disable=C0111,I0011,R0201,R0922,W0142,W0511,W0613,W0622,W0703

[BASIC]

# Variable names can be 1 to 31 characters long, with lowercase and underscores
variable-rgx=[a-z_][a-z0-9_]{0,30}$

# Argument names can be 2 to 31 characters long, with lowercase and underscores
argument-rgx=[a-z_][a-z0-9_]{1,30}$

# Method names should be at least 3 characters long
# and be lowercased with underscores
method-rgx=[a-z_][a-z0-9_]{2,50}$

# Don't require docstrings on tests.
no-docstring-rgx=((__.*__)|([tT]est.*)|setUp|tearDown)$

[DESIGN]
max-args=10
max-attributes=20
max-branchs=30
max-public-methods=100
max-statements=60
min-public-methods=0

[REPORTS]
output-format=parseable
include-ids=yes

[VARIABLES]
additional-builtins=_