1- [MASTER ] 
1+ [MAIN ] 
22
33#  Specify a configuration file.
44# rcfile=
@@ -20,7 +20,9 @@ persistent=no
2020
2121#  List of plugins (as comma separated values of python modules names) to load,
2222#  usually to register additional checkers.
23- load-plugins =pylint.extensions.docparams,pylint.extensions.docstyle
23+ load-plugins =pylint.extensions.docparams,
24+              pylint.extensions.docstyle,
25+              pylint.extensions.bad_builtin,
2426
2527#  Use multiple processes to speed up Pylint.
2628jobs =1
@@ -34,15 +36,6 @@ unsafe-load-any-extension=no
3436#  run arbitrary code
3537extension-pkg-whitelist =
3638
37- #  Allow optimization of some AST trees. This will activate a peephole AST
38- #  optimizer, which will apply various small optimizations. For instance, it can
39- #  be used to obtain the result of joining multiple strings with the addition
40- #  operator. Joining a lot of strings can lead to a maximum recursion error in
41- #  Pylint and this flag can prevent that. It has one side effect, the resulting
42- #  AST will be different than the one from reality. This option is deprecated
43- #  and it will be removed in Pylint 2.0.
44- optimize-ast =no
45- 
4639
4740[MESSAGES CONTROL] 
4841
@@ -65,21 +58,31 @@ enable=indexing-exception,old-raise-syntax
6558#  --enable=similarities". If you want to run only the classes checker, but have
6659#  no Warning level messages displayed, use"--disable=all --enable=classes
6760#  --disable=W"
68- disable =design,similarities,no-self-use,attribute-defined-outside-init,locally-disabled,star-args,pointless-except,bad-option-value,global-statement,fixme,suppressed-message,useless-suppression,locally-enabled,file-ignored,missing-type-doc
61+ disable =design,
62+         similarities,
63+         no-self-use,
64+         attribute-defined-outside-init,
65+         locally-disabled,
66+         star-args,
67+         pointless-except,
68+         bad-option-value,
69+         lobal-statement,
70+         fixme,
71+         suppressed-message,
72+         useless-suppression,
73+         locally-enabled,
74+         file-ignored,
75+         missing-type-doc,
76+         c-extension-no-member,
6977
7078
7179[REPORTS] 
7280
73- #  Set the output format. Available formats are text, parseable, colorized, msvs
74- #  (visual studio) and html. You can also give a reporter class, eg
75- #  mypackage.mymodule.MyReporterClass.
76- output-format =text
77- 
78- #  Put messages in a separate file for each module / package specified on the
79- #  command line instead of printing them on stdout. Reports (if any) will be
80- #  written in a file name "pylint_global.[txt|html]". This option is deprecated
81- #  and it will be removed in Pylint 2.0.
82- files-output =no
81+ #  Set the output format. Available formats are: 'text', 'parseable',
82+ #  'colorized', 'json2' (improved json format), 'json' (old json format), msvs
83+ #  (visual studio) and 'github' (GitHub actions). You can also give a reporter
84+ #  class, e.g. mypackage.mymodule.MyReporterClass.
85+ output-format =colorized
8386
8487#  Tells whether to display a full report or only the messages
8588reports =no
@@ -176,9 +179,12 @@ logging-modules=logging
176179good-names =main,_
177180
178181#  Bad variable names which should always be refused, separated by a comma
179- bad-names =
180- 
181- bad-functions =input,apply,reduce
182+ bad-names =foo,
183+           bar,
184+           baz,
185+           toto,
186+           tutu,
187+           tata
182188
183189#  Colon-delimited sets of names that determine each other's naming style when
184190#  the name regexes allow several styles.
@@ -194,64 +200,33 @@ property-classes=abc.abstractproperty
194200#  Regular expression matching correct function names
195201function-rgx =[a-z_][a-z0-9_]*$
196202
197- #  Naming hint for function names
198- function-name-hint =[a-z_][a-z0-9_]*$
199- 
200203#  Regular expression matching correct variable names
201204variable-rgx =[a-z_][a-z0-9_]{2,30}$
202205
203- #  Naming hint for variable names
204- variable-name-hint =[a-z_][a-z0-9_]{2,30}$
205- 
206206#  Regular expression matching correct constant names
207207const-rgx =^(_?[A-Z][A-Z0-9_]*|__[a-z0-9_]+__|_?[a-z][a-z0-9_]*)$
208208
209- 
210- #  Naming hint for constant names
211- const-name-hint =(([A-Z_][A-Z0-9_]*)|(__.*__))$
212- 
213209#  Regular expression matching correct attribute names
214210attr-rgx =[a-z_][a-z0-9_]{2,30}$
215211
216- #  Naming hint for attribute names
217- attr-name-hint =[a-z_][a-z0-9_]{2,30}$
218- 
219212#  Regular expression matching correct argument names
220213argument-rgx =[a-z_][a-z0-9_]{2,30}$
221214
222- #  Naming hint for argument names
223- argument-name-hint =[a-z_][a-z0-9_]{2,30}$
224- 
225215#  Regular expression matching correct class attribute names
226216class-attribute-rgx =([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
227217
228- #  Naming hint for class attribute names
229- class-attribute-name-hint =([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
230- 
231218#  Regular expression matching correct inline iteration names
232219inlinevar-rgx =[A-Za-z_][A-Za-z0-9_]*$
233220
234- #  Naming hint for inline iteration names
235- inlinevar-name-hint =[A-Za-z_][A-Za-z0-9_]*$
236- 
237221#  Regular expression matching correct class names
238222class-rgx =[A-Z_][a-zA-Z0-9]+$
239223
240- #  Naming hint for class names
241- class-name-hint =[A-Z_][a-zA-Z0-9]+$
242- 
243224#  Regular expression matching correct module names
244225module-rgx =(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
245226
246- #  Naming hint for module names
247- module-name-hint =(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
248- 
249227#  Regular expression matching correct method names
250228method-rgx =[a-z_][a-z0-9_]*$
251229
252- #  Naming hint for method names
253- method-name-hint =[a-z_][a-z0-9_]*$
254- 
255230#  Regular expression which should only match function or class names that do
256231#  not require a docstring.
257232no-docstring-rgx =(__.*__|main)
@@ -294,12 +269,6 @@ ignore-long-lines=^\s*(# )?<?https?://\S+>?$
294269#  else.
295270single-line-if-stmt =no
296271
297- #  List of optional constructs for which whitespace checking is disabled. `dict-
298- #  separator` is used to allow tabulation in dicts, etc.: {1  : 1,\n222: 2}.
299- #  `trailing-comma` allows a space between comma and closing bracket: (a, ).
300- #  `empty-line` allows space-only lines.
301- no-space-check =trailing-comma,dict-separator
302- 
303272#  Maximum number of lines in a module
304273max-module-lines =1000
305274
@@ -405,6 +374,12 @@ exclude-protected=_asdict,_fields,_replace,_source,_make
405374
406375[EXCEPTIONS] 
407376
408- #  Exceptions that will emit a warning when being caught. Defaults to
409- #  "Exception"
410- overgeneral-exceptions =Exception
377+ #  Exceptions that will emit a warning when caught.
378+ overgeneral-exceptions =builtins.BaseException,builtins.Exception
379+ 
380+ [DEPRECATED_BUILTINS] 
381+ 
382+ #  List of builtins function names that should not be used, separated by a comma
383+ bad-functions =input,
384+               apply,
385+               reduce
0 commit comments