-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pylintrc
82 lines (55 loc) · 1.47 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
[MASTER]
# List of files/directories to blacklist (not paths)
ignore=
tests,
migrations,
django-settings-module=SPPM.settings.local
[MESSAGES CONTROL]
# Definitions of codes disabled
# For a list of error codes, see:
# http://pylint-messages.wikidot.com/all-codes
disable=
abstract-method,
too-many-ancestors,
[FORMAT]
max-line-length=100
[BASIC]
# List of bad builtin function names
bad-functions=eval,exec,__import__
# Module name regex
module-rgx=[a-z_][a-z0-9_]{2,30}$
# Constant name regex
const-rgx=[a-zA-Z_][a-zA-Z0-9_]{2,33}$
# Class name regex
class-rgx=[A-Z_][a-zA-Z_]+$
# Function name regex
function-rgx=[a-z_][a-z0-9_]{2,30}$
# Method name regex
method-rgx=[a-z_][a-z0-9_]{2,30}$
# Attribute name regex
attr-rgx=[a-z_][a-z0-9_]{2,30}$
# Argument name regex
argument-rgx=[a-z_][a-z0-9_]{2,30}$
# Variable name regex
variable-rgx=[a-z_][a-z0-9_]{2,30}$
# Class attribute name regex
class-attribute-rgx=([A-Za-z_][A-Za-z0-9_]{1,30}|(__.*__))$
# In-line variable name regex
inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
# Variable names that are always ok
good-names=id,pk,_
[DESIGN]
# The maximum number of arguments allowed
max-args=9
# The maximum number of return statements
max-returns=8
[REPORTS]
# The message output template
msg-template={msg_id}:{line:3d},{column:2d}: {msg} ({symbol})
[SIMILARITIES]
ignore-imports=yes
ignore-comments=yes
ignore-docstrings=yes
[VARIABLES]
dummy-variables-rgx=
ignored-argument-names=filename|name|parent_project|request