-
Notifications
You must be signed in to change notification settings - Fork 47
/
pylintrc
74 lines (64 loc) · 1.98 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
[MASTER]
# A comma-separated list of package or module names from where C extensions may be loaded.
# Extensions are loading into the active Python interpreter and may run arbitrary code.
extension-pkg-whitelist=satyr,rpm
# Parallelize automatically over available CPUs.
jobs=0
# Do not store statistics.
persistent=no
[MESSAGES CONTROL]
# W0201 = Attribute defined outside __init__
# R0201 = Method could be a function
disable=W0201,
R0201,
duplicate-code,
fixme,
import-outside-toplevel,
invalid-name,
missing-docstring,
similarities,
superfluous-parens,
too-few-public-methods,
too-many-arguments,
too-many-branches,
too-many-instance-attributes,
too-many-lines,
too-many-locals,
too-many-nested-blocks,
too-many-return-statements,
too-many-statements,
too-many-variables,
[REPORTS]
reports=yes
score=no
[FORMAT]
# Maximum number of characters on a single line.
max-line-length=120
# Disallow body of class and if statements to be on one line.
single-line-class-stmt=no
single-line-if-stmt=no
[TYPECHECK]
# Pylint has trouble with comprehending the SQLAlchemy API.
generated-members=add,commit,delete,enums,flush,query,rollback
[VARIABLES]
# Do not check for unused imports in __init__ files.
init-import=no
# A regular expression matching the beginning of the name of dummy/unused variables.
dummy-variables-rgx=_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)
[BASIC]
# Regular expression which for function and class names that do not require
# a docstring.
no-docstring-rgx=^_
# Good variable names which should always be accepted.
good-names=a,db,e,ex,fd,i,id,j,k,n,r,to,v
[CLASSES]
# List of method names used to declare instance attributes.
defining-attr-methods=__init__,__new__,setUp
# List of members excluded from the protected access warnings.
exclude-protected=_arch
[DESIGN]
min-public-methods=1
[STRING]
check-quote-consistency=yes
[MISCELLANEOUS]
notes=FIXME,XXX,TODO