@@ -59,10 +59,11 @@ ignore-paths=
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,9 +87,13 @@ 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.
91- py-version =3.10
96+ py-version =3.12
9297
9398# Discover python modules and packages in the file system subtree.
9499recursive =no
@@ -302,6 +307,9 @@ max-locals=30
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
@@ -429,14 +437,16 @@ disable=raw-checker-failed,
429437 useless-suppression,
430438 deprecated-pragma,
431439 use-symbolic-message-instead,
440+ use-implicit-booleaness-not-comparison-to-string,
441+ use-implicit-booleaness-not-comparison-to-zero,
432442 unnecessary-lambda-assignment,
433443 redundant-unittest-assert
434444
435445# Enable the message, report, category or checker with the given id(s). You can
436446# either give multiple identifier separated by comma (,) or put this option
437447# multiple time (only on the command line, not in the configuration file where
438448# it should appear only once). See also the "--disable" option for examples.
439- enable =c-extension-no-member
449+ enable =
440450
441451
442452[METHOD_ARGS]
@@ -468,6 +478,11 @@ max-nested-blocks=5
468478# printed.
469479never-returning-functions =sys.exit,argparse.parse_error
470480
481+ # Let 'consider-using-join' be raised when the separator to join on would be
482+ # non-empty (resulting in expected fixes of the type: ``"- " + " -
483+ # ".join(items)``)
484+ suggest-join-with-non-empty-separator =yes
485+
471486
472487[REPORTS]
473488
@@ -482,9 +497,10 @@ evaluation=max(0, 0 if fatal else 10.0 - ((float(5 * error + warning + refactor
482497# used to format the message information. See doc for all details.
483498msg-template =
484499
485- # Set the output format. Available formats are text, parseable, colorized, json
486- # and msvs (visual studio). You can also give a reporter class, e.g.
487- # mypackage.mymodule.MyReporterClass.
500+ # Set the output format. Available formats are: 'text', 'parseable',
501+ # 'colorized', 'json2' (improved json format), 'json' (old json format), msvs
502+ # (visual studio) and 'github' (GitHub actions). You can also give a reporter
503+ # class, e.g. mypackage.mymodule.MyReporterClass.
488504# output-format=
489505
490506# Tells whether to display a full report or only the messages.
@@ -518,7 +534,7 @@ min-similarity-lines=4
518534max-spelling-suggestions =4
519535
520536# Spelling dictionary name. No available dictionaries : You need to install
521- # both the python package and the system dependency for enchant to work..
537+ # both the python package and the system dependency for enchant to work.
522538spelling-dict =
523539
524540# List of comma separated words that should be considered directives if they
@@ -586,7 +602,7 @@ ignored-classes=optparse.Values,thread._local,_thread._local,argparse.Namespace
586602# of finding the hint is based on edit distance.
587603missing-member-hint =yes
588604
589- # The minimum edit distance a name should have in order to be considered a
605+ # The maximum edit distance a name should have in order to be considered a
590606# similar match for a missing member name.
591607missing-member-hint-distance =1
592608
0 commit comments