-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.pylintrc
57 lines (42 loc) · 1.39 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
[MASTER]
load-plugins=pinax.checkers.style
[MESSAGES CONTROL]
# Brain-dead errors regarding standard language features
# W0142 = *args and **kwargs support
# W0403 = Relative imports
# Pointless whinging
# R0201 = Method could be a function
# W0212 = Accessing protected attribute of client class
# W0613 = Unused argument
# W0232 = Class has no __init__ method
# R0901 = Too Many Ancestors
# R0903 = Too few public methods
# R0904 = Too Many Public Methods
# C0111 = Missing docstring
# I0011 = Locally Disabling
# W0201 = Attribute X defined outside of __init__
# R0801 = Similarities, Might be good to have but need to find a way to disable for deploy.*
# Already an error when wildcard imports are used
# W0614 = Unused import from wildcard
# Seems to be broken?
# E1102 = Not Callable
disable=C0111,W0511,E1101,R0904
[REPORTS]
include-ids=yes
reports=no
[BASIC]
good-names=n,i,j,k,x,e,Run,_,urlpatterns,setUp,qs,pk,register,logger
# Regular expression which should only match correct function names
function-rgx=[a-z_][a-z0-9_]{2,60}$
# Regular expression which should only match correct method names
method-rgx=[a-z_][a-z0-9_]{2,60}$
# Regular expression which should only match correct instance attribute names
attr-rgx=[a-z_][a-z0-9_]{2,60}$
[DESIGN]
max-locals=20
[FORMAT]
max-line-length=80
[VARIABLES]
dummy-variables-rgx=^.*_$
[MISCELLANEOUS]
notes=FIXME,XXX,TODO,@@@