@@ -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.12
96+ py-version =3.13
9297
9398# Discover python modules and packages in the file system subtree.
9499recursive =no
@@ -99,10 +104,6 @@ recursive=no
99104# source root.
100105source-roots =
101106
102- # When enabled, pylint would attempt to guess common misconfiguration and emit
103- # user-friendly hints instead of false-positive error messages.
104- suggestion-mode =yes
105-
106107# Allow loading of arbitrary C extensions. Extensions are imported into the
107108# active Python interpreter and may run arbitrary code.
108109unsafe-load-any-extension =no
@@ -229,6 +230,11 @@ name-group=
229230# not require a docstring.
230231no-docstring-rgx =^_
231232
233+ # Regular expression matching correct parameter specification variable names.
234+ # If left empty, parameter specification variable names will be checked with
235+ # the set naming style.
236+ # paramspec-rgx=
237+
232238# List of decorators that produce properties, such as abc.abstractproperty. Add
233239# to this list to register other decorators that produce valid properties.
234240# These decorators are taken in consideration only for invalid-name.
@@ -242,6 +248,10 @@ property-classes=abc.abstractproperty
242248# variable names will be checked with the set naming style.
243249# typevar-rgx=
244250
251+ # Regular expression matching correct type variable tuple names. If left empty,
252+ # type variable tuple names will be checked with the set naming style.
253+ # typevartuple-rgx=
254+
245255# Naming style matching correct variable names.
246256variable-naming-style =snake_case
247257
@@ -302,6 +312,9 @@ max-locals=15
302312# Maximum number of parents for a class (see R0901).
303313max-parents =7
304314
315+ # Maximum number of positional arguments for function / method.
316+ max-positional-arguments =5
317+
305318# Maximum number of public methods for a class (see R0904).
306319max-public-methods =20
307320
@@ -336,7 +349,9 @@ indent-after-paren=4
336349# tab).
337350indent-string =' '
338351
339- # Maximum number of characters on a single line.
352+ # Maximum number of characters on a single line. Pylint's default of 100 is
353+ # based on PEP 8's guidance that teams may choose line lengths up to 99
354+ # characters.
340355max-line-length =120
341356
342357# Maximum number of lines in a module.
@@ -448,6 +463,9 @@ timeout-methods=requests.api.delete,requests.api.get,requests.api.head,requests.
448463
449464[MISCELLANEOUS]
450465
466+ # Whether or not to search for fixme's in docstrings.
467+ check-fixme-in-docstring =no
468+
451469# List of note tags to take in consideration, separated by a comma.
452470notes =FIXME,
453471 XXX,
@@ -468,6 +486,11 @@ max-nested-blocks=5
468486# printed.
469487never-returning-functions =sys.exit,argparse.parse_error
470488
489+ # Let 'consider-using-join' be raised when the separator to join on would be
490+ # non-empty (resulting in expected fixes of the type: ``"- " + " -
491+ # ".join(items)``)
492+ suggest-join-with-non-empty-separator =yes
493+
471494
472495[REPORTS]
473496
@@ -482,10 +505,10 @@ evaluation=max(0, 0 if fatal else 10.0 - ((float(5 * error + warning + refactor
482505# used to format the message information. See doc for all details.
483506msg-template =
484507
485- # Set the output format. Available formats are: text, parseable, colorized ,
486- # json2 (improved json format), json (old json format) and msvs (visual
487- # studio). You can also give a reporter class, e.g.
488- # mypackage.mymodule.MyReporterClass.
508+ # Set the output format. Available formats are: ' text', ' parseable' ,
509+ # 'colorized', ' json2' (improved json format), ' json' (old json format), msvs
510+ # (visual studio) and 'github' (GitHub actions) . You can also give a reporter
511+ # class, e.g. mypackage.mymodule.MyReporterClass.
489512# output-format=
490513
491514# Tells whether to display a full report or only the messages.
@@ -587,7 +610,7 @@ ignored-classes=optparse.Values,thread._local,_thread._local,argparse.Namespace
587610# of finding the hint is based on edit distance.
588611missing-member-hint =yes
589612
590- # The minimum edit distance a name should have in order to be considered a
613+ # The maximum edit distance a name should have in order to be considered a
591614# similar match for a missing member name.
592615missing-member-hint-distance =1
593616
0 commit comments