@@ -39,7 +39,7 @@ extension-pkg-whitelist=
39
39
fail-on =
40
40
41
41
# Specify a score threshold under which the program will exit with error.
42
- fail-under =10.0
42
+ fail-under =10
43
43
44
44
# Interpret the stdin as a python script, whose filename needs to be passed as
45
45
# the module_or_package argument.
@@ -59,10 +59,11 @@ ignore-paths=tests,docs,examples,^mindee/product/fr/carte_grise/.*$
59
59
# Emacs file locks
60
60
ignore-patterns =^\.#
61
61
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.
66
67
ignored-modules =
67
68
68
69
# Python code to execute, usually for sys.path manipulation such as
@@ -86,6 +87,10 @@ load-plugins=
86
87
# Pickle collected data for later comparisons.
87
88
persistent =yes
88
89
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
+
89
94
# Minimum Python version to use for version dependent checks. Will default to
90
95
# the version used to run pylint.
91
96
# py-version=3.8
@@ -127,7 +132,7 @@ attr-naming-style=snake_case
127
132
# Regular expression matching correct attribute names. Overrides attr-naming-
128
133
# style. If left empty, attribute names will be checked with the set naming
129
134
# style.
130
- attr-rgx =[a-z_][a-z0-9_]{1,40}$
135
+ # attr-rgx=
131
136
132
137
# Bad variable names which should always be refused, separated by a comma.
133
138
bad-names =foo,
@@ -302,6 +307,9 @@ max-locals=15
302
307
# Maximum number of parents for a class (see R0901).
303
308
max-parents =7
304
309
310
+ # Maximum number of positional arguments for function / method.
311
+ max-positional-arguments =5
312
+
305
313
# Maximum number of public methods for a class (see R0904).
306
314
max-public-methods =20
307
315
@@ -426,6 +434,7 @@ disable=duplicate-code,
426
434
missing-module-docstring,
427
435
too-many-instance-attributes,
428
436
too-many-arguments,
437
+ too-many-positional-arguments,
429
438
430
439
# Enable the message, report, category or checker with the given id(s). You can
431
440
# either give multiple identifier separated by comma (,) or put this option
@@ -463,6 +472,11 @@ max-nested-blocks=5
463
472
# printed.
464
473
never-returning-functions =sys.exit,argparse.parse_error
465
474
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
+
466
480
467
481
[REPORTS]
468
482
@@ -477,8 +491,9 @@ evaluation=max(0, 0 if fatal else 10.0 - ((float(5 * error + warning + refactor
477
491
# used to format the message information. See doc for all details.
478
492
msg-template =
479
493
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.
482
497
# mypackage.mymodule.MyReporterClass.
483
498
# output-format=
484
499
@@ -513,7 +528,7 @@ min-similarity-lines=4
513
528
max-spelling-suggestions =4
514
529
515
530
# 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.
517
532
spelling-dict =
518
533
519
534
# List of comma separated words that should be considered directives if they
0 commit comments