-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.pylintrc
123 lines (101 loc) · 3.67 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
[MASTER]
rcfile=./.pylintrc
ignore=CVS
ignore-patterns=.*_pb2.py,test_.*.py,globs.py,riemann.py
persistent=no
load-plugins=
jobs=2
unsafe-load-any-extension=no
extension-pkg-whitelist=
optimize-ast=no
msg-template={path}:{line}: [{msg_id}({symbol}), {obj}] {msg}
[MESSAGES CONTROL]
# Only show warnings with the listed confidence levels. Leave empty to show
# all. Valid levels: HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED
confidence=
disable=R,import-star-module-level,old-octal-literal,oct-method,print-statement,unpacking-in-except,parameter-unpacking,backtick,old-raise-syntax,old-ne-operator,long-suffix,dict-view-method,dict-iter-method,metaclass-assignment,next-method-called,raising-string,indexing-exception,raw_input-builtin,long-builtin,file-builtin,execfile-builtin,coerce-builtin,cmp-builtin,buffer-builtin,basestring-builtin,apply-builtin,filter-builtin-not-iterating,using-cmp-argument,useless-suppression,range-builtin-not-iterating,suppressed-message,no-absolute-import,old-division,cmp-method,reload-builtin,zip-builtin-not-iterating,intern-builtin,unichr-builtin,reduce-builtin,standarderror-builtin,unicode-builtin,xrange-builtin,coerce-method,delslice-method,getslice-method,setslice-method,input-builtin,round-builtin,hex-method,nonzero-method,map-builtin-not-iterating,too-few-public-methods,invalid-name,broad-except,abstract-method,bare-except,eval-used,no-init,redefined-outer-name,dangerous-default-value,arguments-differ
[REPORTS]
output-format=colorized
files-output=no
reports=yes
evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
[TYPECHECK]
ignore-mixin-members=yes
ignored-modules=twisted.internet.reactor,zope.interface
ignored-classes=optparse.Values,thread._local,_thread._local
# List of members which are set dynamically and missed by pylint inference
# system, and so shouldn't trigger E1101 when accessed. Python regular
# expressions are accepted.
generated-members=
contextmanager-decorators=contextlib.contextmanager
[LOGGING]
logging-modules=logging
[FORMAT]
max-line-length=80
ignore-long-lines=^\s*(# )?<?https?://\S+>?$
single-line-if-stmt=no
no-space-check=trailing-comma,dict-separator
max-module-lines=1000
indent-string=' '
indent-after-paren=4
expected-line-ending-format=
[SPELLING]
spelling-dict=
spelling-ignore-words=
spelling-private-dict-file=
spelling-store-unknown-words=no
[MISCELLANEOUS]
notes=FIXME,XXX,TODO
[SIMILARITIES]
min-similarity-lines=4
ignore-comments=yes
ignore-docstrings=yes
ignore-imports=no
[BASIC]
good-names=i,j,k,ex,Run,_
bad-names=foo,bar,baz,toto,tutu,tata
name-group=
include-naming-hint=no
property-classes=abc.abstractproperty
docstring-min-length=-1
function-rgx=_?_?[A-Za-z_][A-Za-z0-9_]{1,30}$
method-rgx=_?_?[a-z_][A-Za-z0-9_]{1,30}$
argument-rgx=_?[a-z_][A-Za-z0-9_]{1,30}$
variable-rgx=_?[a-z_][A-Za-z0-9_]{1,30}$
inlinevar-rgx=_?[a-z_][A-Za-z0-9_]{1,30}$
attr-rgx=_?[a-z_][A-Za-z0-9_]{1,30}$
[ELIF]
max-nested-blocks=5
[VARIABLES]
init-import=no
dummy-variables-rgx=(_+[a-zA-Z0-9]*?$)|dummy
additional-builtins=
callbacks=cb_,_cb
redefining-builtins-modules=six.moves,future.builtins
[IMPORTS]
deprecated-modules=regsub,TERMIOS,Bastion,rexec
import-graph=
ext-import-graph=
int-import-graph=
known-standard-library=
known-third-party=enchant
analyse-fallback-blocks=no
[CLASSES]
defining-attr-methods=__init__,__new__,setUp
valid-classmethod-first-arg=cls
valid-metaclass-classmethod-first-arg=mcs
exclude-protected=_asdict,_fields,_replace,_source,_make
[DESIGN]
max-args=15
ignored-argument-names=_.*
max-locals=15
max-returns=6
max-branches=13
max-statements=50
max-parents=7
max-attributes=30
min-public-methods=1
max-public-methods=20
max-bool-expr=5
[EXCEPTIONS]
overgeneral-exceptions=Exception