@@ -16,7 +16,7 @@ persistent=yes
1616
1717# List of plugins (as comma separated values of python modules names) to load,
1818# usually to register additional checkers.
19- load-plugins =
19+ # load-plugins=
2020
2121# Use multiple processes to speed up Pylint.
2222jobs =1
@@ -28,14 +28,14 @@ unsafe-load-any-extension=no
2828# A comma-separated list of package or module names from where C extensions may
2929# be loaded. Extensions are loading into the active Python interpreter and may
3030# run arbitrary code
31- extension-pkg-whitelist =
31+ # extension-pkg-whitelist=
3232
3333
3434[MESSAGES CONTROL]
3535
3636# Only show warnings with the listed confidence levels. Leave empty to show
3737# all. Valid levels: HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED
38- confidence =
38+ # confidence=
3939
4040# Enable the message, report, category or checker with the given id(s). You can
4141# either give multiple identifier separated by comma (,) or put this option
@@ -62,12 +62,11 @@ disable=
6262 too-few-public-methods,
6363 no-member,
6464 too-many-format-args,
65- bad-continuation,
6665 bare-except,
6766 inconsistent-return-statements,
6867 no-name-in-module,
6968 cyclic-import,
70- unnecessary-pass,
69+ unnecessary-pass
7170
7271
7372[REPORTS]
@@ -77,11 +76,6 @@ disable=
7776# mypackage.mymodule.MyReporterClass.
7877output-format =text
7978
80- # Put messages in a separate file for each module / package specified on the
81- # command line instead of printing them on stdout. Reports (if any) will be
82- # written in a file name "pylint_global.[txt|html]".
83- files-output =no
84-
8579# Tells whether to display a full report or only the messages
8680reports =no
8781
@@ -136,7 +130,7 @@ dummy-variables-rgx=_$|dummy
136130
137131# List of additional names supposed to be defined in builtins. Remember that
138132# you should avoid to define new builtins when possible.
139- additional-builtins =
133+ # additional-builtins=
140134
141135# List of strings which can identify a callback function by name. A callback
142136# name must start or end with one of those strings.
@@ -155,9 +149,6 @@ ignore-long-lines=^\s*(# )?<?https?://\S+>?$
155149# else.
156150single-line-if-stmt =no
157151
158- # List of optional constructs for which whitespace checking is disabled
159- no-space-check =trailing-comma,dict-separator
160-
161152# Maximum number of lines in a module
162153max-module-lines =2000
163154
@@ -169,14 +160,11 @@ indent-string=' '
169160indent-after-paren =4
170161
171162# Expected format of line ending, e.g. empty (any line ending), LF or CRLF.
172- expected-line-ending-format =
163+ # expected-line-ending-format=
173164
174165
175166[BASIC]
176167
177- # List of builtins function names that should not be used, separated by a comma
178- bad-functions =map,filter,input
179-
180168# Good variable names which should always be accepted, separated by a comma
181169good-names =i,j,k,ex,Run,_
182170
@@ -185,71 +173,41 @@ bad-names=foo,bar,baz,toto,tutu,tata
185173
186174# Colon-delimited sets of names that determine each other's naming style when
187175# the name regexes allow several styles.
188- name-group =
176+ # name-group=
189177
190178# Include a hint for the correct naming format with invalid-name
191179include-naming-hint =no
192180
193181# Regular expression matching correct function names
194182function-rgx =[a-z_][a-z0-9_]{2,30}$
195183
196- # Naming hint for function names
197- function-name-hint =[a-z_][a-z0-9_]{2,30}$
198-
199184# Regular expression matching correct variable names
200185variable-rgx =[a-z_][a-z0-9_]{2,30}$
201186
202- # Naming hint for variable names
203- variable-name-hint =[a-z_][a-z0-9_]{2,30}$
204-
205187# Regular expression matching correct constant names
206188const-rgx =[a-z_][a-z0-9_]{2,30}$
207189
208- # Naming hint for constant names
209- const-name-hint =(([A-Z_][A-Z0-9_]*)|(__.*__))$
210-
211190# Regular expression matching correct attribute names
212191attr-rgx =[a-z_][a-z0-9_]{2,30}$
213192
214- # Naming hint for attribute names
215- attr-name-hint =[a-z_][a-z0-9_]{2,30}$
216-
217193# Regular expression matching correct argument names
218194argument-rgx =[a-z_][a-z0-9_]{2,30}$
219195
220- # Naming hint for argument names
221- argument-name-hint =[a-z_][a-z0-9_]{2,30}$
222-
223196# Regular expression matching correct class attribute names
224197class-attribute-rgx =([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
225198
226- # Naming hint for class attribute names
227- class-attribute-name-hint =([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
228-
229199# Regular expression matching correct inline iteration names
230200inlinevar-rgx =[A-Za-z_][A-Za-z0-9_]*$
231201
232- # Naming hint for inline iteration names
233- inlinevar-name-hint =[A-Za-z_][A-Za-z0-9_]*$
234-
235202# Regular expression matching correct class names
236203class-rgx =[A-Z_][a-zA-Z0-9]+$
237204
238- # Naming hint for class names
239- class-name-hint =[A-Z_][a-zA-Z0-9]+$
240-
241205# Regular expression matching correct module names
242206module-rgx =(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
243207
244- # Naming hint for module names
245- module-name-hint =(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
246-
247208# Regular expression matching correct method names
248209method-rgx =[a-z_][a-z0-9_]{2,30}$
249210
250- # Naming hint for method names
251- method-name-hint =[a-z_][a-z0-9_]{2,30}$
252-
253211# Regular expression which should only match function or class names that do
254212# not require a docstring.
255213no-docstring-rgx =__.*__
@@ -271,11 +229,11 @@ ignore-mixin-members=yes
271229# List of module names for which member attributes should not be checked
272230# (useful for modules/projects where namespaces are manipulated during runtime
273231# and thus existing member attributes cannot be deduced by static analysis
274- ignored-modules =
232+ # ignored-modules=
275233
276234# List of classes names for which member attributes should not be checked
277235# (useful for classes with attributes dynamically set).
278- ignored-classes =SQLObject, optparse.Values, thread._local, _thread._local
236+ ignored-classes =SQLObject,optparse.Values,thread._local,_thread._local
279237
280238# List of members which are set dynamically and missed by pylint inference
281239# system, and so shouldn't trigger E1101 when accessed. Python regular
@@ -291,13 +249,13 @@ contextmanager-decorators=contextlib.contextmanager
291249
292250# Spelling dictionary name. Available dictionaries: none. To make it working
293251# install python-enchant package.
294- spelling-dict =
252+ # spelling-dict=
295253
296254# List of comma separated words that should not be checked.
297- spelling-ignore-words =
255+ # spelling-ignore-words=
298256
299257# A path to a file that contains private dictionary; one word per line.
300- spelling-private-dict-file =
258+ # spelling-private-dict-file=
301259
302260# Tells whether to store unknown words to indicated private dictionary in
303261# --spelling-private-dict-file option instead of raising a message.
@@ -361,19 +319,19 @@ deprecated-modules=regsub,TERMIOS,Bastion,rexec
361319
362320# Create a graph of every (i.e. internal and external) dependencies in the
363321# given file (report RP0402 must not be disabled)
364- import-graph =
322+ # import-graph=
365323
366324# Create a graph of external dependencies in the given file (report RP0402 must
367325# not be disabled)
368- ext-import-graph =
326+ # ext-import-graph=
369327
370328# Create a graph of internal dependencies in the given file (report RP0402 must
371329# not be disabled)
372- int-import-graph =
330+ # int-import-graph=
373331
374332
375333[EXCEPTIONS]
376334
377335# Exceptions that will emit a warning when being caught. Defaults to
378336# "Exception"
379- overgeneral-exceptions =Exception
337+ overgeneral-exceptions =builtins. Exception
0 commit comments