1
- # Pylint 3.0 .x configuration file
1
+ # Pylint 3.2 .x configuration file
2
2
#
3
3
# This file is generated by l2tdevtools update-dependencies.py, any dependency
4
4
# related changes should be made in dependencies.ini.
@@ -29,6 +29,7 @@ clear-cache-post-run=no
29
29
# A comma-separated list of package or module names from where C extensions may
30
30
# be loaded. Extensions are loading into the active Python interpreter and may
31
31
# run arbitrary code.
32
+ # extension-pkg-allow-list=
32
33
extension-pkg-allow-list =pybde,pycaes,pycreg,pyesedb,pyevt,pyevtx,pyewf,pyfcrypto,pyfsapfs,pyfsext,pyfsfat,pyfshfs,pyfsntfs,pyfsxfs,pyfvde,pyfwnt,pyfwsi,pylnk,pyluksde,pymodi,pymsiecf,pyolecf,pyphdi,pyqcow,pyregf,pyscca,pysigscan,pysmdev,pysmraw,pytsk3,pyvhdi,pyvmdk,pyvsapm,pyvsgpt,pyvshadow,pyvslvm,xattr,yara,zstd
33
34
34
35
# A comma-separated list of package or module names from where C extensions may
@@ -63,10 +64,11 @@ ignore-paths=
63
64
# Emacs file locks
64
65
ignore-patterns =^\.#
65
66
66
- # List of module names for which member attributes should not be checked
67
- # (useful for modules/projects where namespaces are manipulated during runtime
68
- # and thus existing member attributes cannot be deduced by static analysis). It
69
- # supports qualified module names, as well as Unix pattern matching.
67
+ # List of module names for which member attributes should not be checked and
68
+ # will not be imported (useful for modules/projects where namespaces are
69
+ # manipulated during runtime and thus existing member attributes cannot be
70
+ # deduced by static analysis). It supports qualified module names, as well as
71
+ # Unix pattern matching.
70
72
ignored-modules =
71
73
72
74
# Python code to execute, usually for sys.path manipulation such as
@@ -85,11 +87,16 @@ limit-inference-results=100
85
87
86
88
# List of plugins (as comma separated values of python module names) to load,
87
89
# usually to register additional checkers.
90
+ # load-plugins=
88
91
load-plugins =pylint.extensions.docparams
89
92
90
93
# Pickle collected data for later comparisons.
91
94
persistent =yes
92
95
96
+ # Resolve imports to .pyi stubs if available. May reduce no-member messages and
97
+ # increase not-an-iterable messages.
98
+ prefer-stubs =no
99
+
93
100
# Minimum Python version to use for version dependent checks. Will default to
94
101
# the version used to run pylint.
95
102
py-version =3.12
@@ -440,7 +447,6 @@ confidence=HIGH,
440
447
# --enable=similarities". If you want to run only the classes checker, but have
441
448
# no Warning level messages displayed, use "--disable=all --enable=classes
442
449
# --disable=W".
443
-
444
450
disable =assignment-from-none,
445
451
bad-inline-option,
446
452
consider-using-f-string,
@@ -478,6 +484,7 @@ disable=assignment-from-none,
478
484
# either give multiple identifier separated by comma (,) or put this option
479
485
# multiple time (only on the command line, not in the configuration file where
480
486
# it should appear only once). See also the "--disable" option for examples.
487
+ # enable=
481
488
enable =c-extension-no-member
482
489
483
490
@@ -510,6 +517,11 @@ max-nested-blocks=5
510
517
# printed.
511
518
never-returning-functions =sys.exit,argparse.parse_error
512
519
520
+ # Let 'consider-using-join' be raised when the separator to join on would be
521
+ # non-empty (resulting in expected fixes of the type: ``"- " + " -
522
+ # ".join(items)``)
523
+ suggest-join-with-non-empty-separator =yes
524
+
513
525
514
526
[REPORTS]
515
527
0 commit comments