forked from e-valuation/EvaP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pylintrc
33 lines (29 loc) · 1.38 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
[MASTER]
ignore=.hg,migrations
[MESSAGES CONTROL]
# C0301 Line too long
# C0111 Missing docstring
# E1102 Variable is not callable (problem with ugettext in Django)
# I0011 Warning locally suppressed using disable-msg
# I0012 Warning locally suppressed using disable-msg
# W0704 Except doesn't do anything Used when an except clause does nothing but "pass" and there is no "else" clause
# W0142 Used * or * magic* Used when a function or method is called using *args or **kwargs to dispatch arguments.
# W0212 Access to a protected member %s of a client class
# W0232 Class has no __init__ method Used when a class has no __init__ method, neither its parent classes.
# W0613 Unused argument %r Used when a function or method argument is not used.
# W0702 No exception's type specified Used when an except clause doesn't specify exceptions type to catch.
# R0201 Method could be a function
disable=C0301,C0111,E1102,I0011,I0012,W0704,W0142,W0212,W0232,W0613,W0702,R0201
[BASIC]
no-docstring-rgx=__.*__|_.*
class-rgx=[A-Z_][a-zA-Z0-9_]+$
function-rgx=[a-zA_][a-zA-Z0-9_]{2,70}$
method-rgx=[a-z_][a-zA-Z0-9_]{2,70}$
const-rgx=(([A-Z_][A-Z0-9_]*)|([a-z_][a-z0-9_]*)|(__.*__)|register|urlpatterns)$
good-names=_,i,j,k,e,pk,setUp,tearDown
[TYPECHECK]
ignore-mixin-members=yes
generated-members=objects,DoesNotExist,id,pk,_meta,base_fields,context
defining-attr-methods=__init__,__new__,setUp
[VARIABLES]
init-import=no