-
-
Notifications
You must be signed in to change notification settings - Fork 102
/
.pylintrc
170 lines (151 loc) · 4.35 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
[MASTER]
# Use multiple processes to speed up Pylint.
jobs=4
[MESSAGES CONTROL]
disable=R,
C,
c-extension-no-member,
broad-except,
invalid-name,
no-member,
too-many-arguments,
too-many-function-args,
protected-access,
no-name-in-module,
invalid-unary-operand-type,
redefined-outer-name,
pointless-string-statement,
unspecified-encoding
# disable=R,
# C,
# abstract-method,
# apply-builtin,
# arguments-differ,
# attribute-defined-outside-init,
# backtick,
# bad-option-value,
# basestring-builtin,
# broad-except,
# buffer-builtin,
# c-extension-no-member,
# consider-using-enumerate,
# cmp-builtin,
# cmp-method,
# coerce-builtin,
# coerce-method,
# delslice-method,
# div-method,
# duplicate-code,
# eq-without-hash,
# execfile-builtin,
# file-builtin,
# filter-builtin-not-iterating,
# fixme,
# getslice-method,
# global-statement,
# hex-method,
# idiv-method,
# implicit-str-concat-in-sequence,
# import-error,
# import-self,
# import-star-module-level,
# inconsistent-return-statements,
# input-builtin,
# intern-builtin,
# invalid-str-codec,
# invalid-name,
# locally-disabled,
# long-builtin,
# long-suffix,
# map-builtin-not-iterating,
# misplaced-comparison-constant,
# missing-function-docstring,
# metaclass-assignment,
# next-method-called,
# next-method-defined,
# no-absolute-import,
# no-else-break,
# no-else-continue,
# no-else-raise,
# no-else-return,
# no-init, # added
# no-member,
# no-name-in-module,
# no-self-use,
# nonzero-method,
# oct-method,
# old-division,
# old-ne-operator,
# old-octal-literal,
# old-raise-syntax,
# parameter-unpacking,
# print-statement,
# protected-access,
# raising-string,
# range-builtin-not-iterating,
# raw_input-builtin,
# rdiv-method,
# reduce-builtin,
# relative-import,
# reload-builtin,
# round-builtin,
# setslice-method,
# signature-differs,
# standarderror-builtin,
# suppressed-message,
# sys-max-int,
# too-few-public-methods,
# too-many-ancestors,
# too-many-arguments
# too-many-boolean-expressions,
# too-many-branches,
# too-many-instance-attributes,
# too-many-locals,
# too-many-nested-blocks,
# too-many-public-methods,
# too-many-return-statements,
# too-many-function-args,
# too-many-statements,
# trailing-newlines,
# unichr-builtin,
# unicode-builtin,
# unnecessary-pass,
# undefined-all-variable,
# unpacking-in-except,
# useless-else-on-loop,
# useless-object-inheritance,
# useless-suppression,
# using-cmp-argument,
# wrong-import-order,
# xrange-builtin,
# zip-builtin-not-iterating,
[FORMAT]
# Maximum number of characters on a single line.
max-line-length=120
# Maximum number of lines in a module
max-module-lines=99999
# [MISCELLANEOUS]
# # List of note tags to take in consideration, separated by a comma.
# notes=TODO
# [CLASSES]
# # List of method names used to declare (i.e. assign) instance attributes.
# defining-attr-methods=__init__,
# __new__,
# setUp
# # List of member names, which should be excluded from the protected access
# # warning.
# exclude-protected=_asdict,
# _fields,
# _replace,
# _source,
# _make
# # List of valid names for the first argument in a class method.
# valid-classmethod-first-arg=cls,class_
# # List of valid names for the first argument in a metaclass class method.
# valid-metaclass-classmethod-first-arg=mcs
# [EXCEPTIONS]
# # Exceptions that will emit a warning when being caught. Defaults to
# # "Exception"
# overgeneral-exceptions=StandardError,
# Exception,
# BaseException