@@ -39,7 +39,7 @@ extension-pkg-whitelist=
3939fail-on =
4040
4141# Specify a score threshold under which the program will exit with error.
42- fail-under =10.0
42+ fail-under =10
4343
4444# Interpret the stdin as a python script, whose filename needs to be passed as
4545# the module_or_package argument.
@@ -59,10 +59,11 @@ ignore-paths=tests,docs,examples,^mindee/product/fr/carte_grise/.*$
5959# Emacs file locks
6060ignore-patterns =^\.#
6161
62- # List of module names for which member attributes should not be checked
63- # (useful for modules/projects where namespaces are manipulated during runtime
64- # and thus existing member attributes cannot be deduced by static analysis). It
65- # supports qualified module names, as well as Unix pattern matching.
62+ # List of module names for which member attributes should not be checked and
63+ # will not be imported (useful for modules/projects where namespaces are
64+ # manipulated during runtime and thus existing member attributes cannot be
65+ # deduced by static analysis). It supports qualified module names, as well as
66+ # Unix pattern matching.
6667ignored-modules =
6768
6869# Python code to execute, usually for sys.path manipulation such as
@@ -86,6 +87,10 @@ load-plugins=
8687# Pickle collected data for later comparisons.
8788persistent =yes
8889
90+ # Resolve imports to .pyi stubs if available. May reduce no-member messages and
91+ # increase not-an-iterable messages.
92+ prefer-stubs =no
93+
8994# Minimum Python version to use for version dependent checks. Will default to
9095# the version used to run pylint.
9196# py-version=3.8
@@ -127,7 +132,7 @@ attr-naming-style=snake_case
127132# Regular expression matching correct attribute names. Overrides attr-naming-
128133# style. If left empty, attribute names will be checked with the set naming
129134# style.
130- attr-rgx =[a-z_][a-z0-9_]{1,40}$
135+ # attr-rgx=
131136
132137# Bad variable names which should always be refused, separated by a comma.
133138bad-names =foo,
@@ -302,6 +307,9 @@ max-locals=15
302307# Maximum number of parents for a class (see R0901).
303308max-parents =7
304309
310+ # Maximum number of positional arguments for function / method.
311+ max-positional-arguments =5
312+
305313# Maximum number of public methods for a class (see R0904).
306314max-public-methods =20
307315
@@ -426,6 +434,7 @@ disable=duplicate-code,
426434 missing-module-docstring,
427435 too-many-instance-attributes,
428436 too-many-arguments,
437+ too-many-positional-arguments,
429438
430439# Enable the message, report, category or checker with the given id(s). You can
431440# either give multiple identifier separated by comma (,) or put this option
@@ -463,6 +472,11 @@ max-nested-blocks=5
463472# printed.
464473never-returning-functions =sys.exit,argparse.parse_error
465474
475+ # Let 'consider-using-join' be raised when the separator to join on would be
476+ # non-empty (resulting in expected fixes of the type: ``"- " + " -
477+ # ".join(items)``)
478+ suggest-join-with-non-empty-separator =yes
479+
466480
467481[REPORTS]
468482
@@ -477,8 +491,9 @@ evaluation=max(0, 0 if fatal else 10.0 - ((float(5 * error + warning + refactor
477491# used to format the message information. See doc for all details.
478492msg-template =
479493
480- # Set the output format. Available formats are text, parseable, colorized, json
481- # and msvs (visual studio). You can also give a reporter class, e.g.
494+ # Set the output format. Available formats are: text, parseable, colorized,
495+ # json2 (improved json format), json (old json format) and msvs (visual
496+ # studio). You can also give a reporter class, e.g.
482497# mypackage.mymodule.MyReporterClass.
483498# output-format=
484499
@@ -513,7 +528,7 @@ min-similarity-lines=4
513528max-spelling-suggestions =4
514529
515530# Spelling dictionary name. No available dictionaries : You need to install
516- # both the python package and the system dependency for enchant to work..
531+ # both the python package and the system dependency for enchant to work.
517532spelling-dict =
518533
519534# List of comma separated words that should be considered directives if they
0 commit comments