Skip to content

Commit dca01b2

Browse files
Bump pylint to 3.3.9, update changelog
1 parent 81fb483 commit dca01b2

File tree

12 files changed

+50
-29
lines changed

12 files changed

+50
-29
lines changed

CONTRIBUTORS.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -670,3 +670,4 @@ under this name, or we did not manage to find their commits in the history.
670670
- Thomas Snowden: fix missing-docstring for inner functions
671671
- Wolfgang Grafen
672672
- Yannick Brehon
673+
- pylint-backport[bot] <212256041+pylint-backport[bot]@users.noreply.github.com>

doc/whatsnew/3/3.3/index.rst

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,45 @@ Summary -- Release highlights
1414

1515
.. towncrier release notes start
1616
17+
What's new in Pylint 3.3.9?
18+
---------------------------
19+
Release date: 2025-10-05
20+
21+
22+
False Positives Fixed
23+
---------------------
24+
25+
- Fix used-before-assignment for PEP 695 type aliases and parameters.
26+
27+
Closes #9815 (`#9815 <https://github.com/pylint-dev/pylint/issues/9815>`_)
28+
29+
- No longer flag undeprecated functions in ``importlib.resources`` as deprecated.
30+
31+
Closes #10593 (`#10593 <https://github.com/pylint-dev/pylint/issues/10593>`_)
32+
33+
34+
35+
Other Bug Fixes
36+
---------------
37+
38+
- Fix false positive ``inconsistent-return-statements`` when using ``quit()`` or ``exit()`` functions.
39+
40+
Closes #10508 (`#10508 <https://github.com/pylint-dev/pylint/issues/10508>`_)
41+
42+
- Fixed crash in 'unnecessary-list-index-lookup' when starting an enumeration using
43+
minus the length of an iterable inside a dict comprehension when the len call was only
44+
made in this dict comprehension, and not elsewhere. Also changed the approach,
45+
to use inference in all cases but the simple ones, so we don't have to fix crashes
46+
one by one for arbitrarily complex expressions in enumerate.
47+
48+
Closes #10510 (`#10510 <https://github.com/pylint-dev/pylint/issues/10510>`_)
49+
50+
- Fix false positive ``undefined-variable`` (E0602) for for-loop variable shadowing patterns like ``for item in item:`` when the variable was previously defined.
51+
52+
Closes #10562 (`#10562 <https://github.com/pylint-dev/pylint/issues/10562>`_)
53+
54+
55+
1756
What's new in Pylint 3.3.8?
1857
---------------------------
1958
Release date: 2025-08-09

doc/whatsnew/fragments/10508.bugfix

Lines changed: 0 additions & 3 deletions
This file was deleted.

doc/whatsnew/fragments/10510.bugfix

Lines changed: 0 additions & 7 deletions
This file was deleted.

doc/whatsnew/fragments/10562.bugfix

Lines changed: 0 additions & 3 deletions
This file was deleted.

doc/whatsnew/fragments/10593.false_positive

Lines changed: 0 additions & 3 deletions
This file was deleted.

doc/whatsnew/fragments/9815.false_positive

Lines changed: 0 additions & 3 deletions
This file was deleted.

examples/pylintrc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -436,9 +436,9 @@ disable=raw-checker-failed,
436436
suppressed-message,
437437
useless-suppression,
438438
deprecated-pragma,
439+
use-symbolic-message-instead,
439440
use-implicit-booleaness-not-comparison-to-string,
440-
use-implicit-booleaness-not-comparison-to-zero,
441-
use-symbolic-message-instead
441+
use-implicit-booleaness-not-comparison-to-zero
442442

443443
# Enable the message, report, category or checker with the given id(s). You can
444444
# either give multiple identifier separated by comma (,) or put this option
@@ -531,8 +531,8 @@ min-similarity-lines=4
531531
# Limits count of emitted suggestions for spelling mistakes.
532532
max-spelling-suggestions=4
533533

534-
# Spelling dictionary name. Available dictionaries: en (aspell), en_AU
535-
# (aspell), en_CA (aspell), en_GB (aspell), en_US (aspell).
534+
# Spelling dictionary name. No available dictionaries : You need to install
535+
# both the python package and the system dependency for enchant to work.
536536
spelling-dict=
537537

538538
# List of comma separated words that should be considered directives if they

examples/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -381,9 +381,9 @@ disable = [
381381
"suppressed-message",
382382
"useless-suppression",
383383
"deprecated-pragma",
384+
"use-symbolic-message-instead",
384385
"use-implicit-booleaness-not-comparison-to-string",
385386
"use-implicit-booleaness-not-comparison-to-zero",
386-
"use-symbolic-message-instead",
387387
]
388388

389389
# Enable the message, report, category or checker with the given id(s). You can
@@ -470,8 +470,8 @@ min-similarity-lines = 4
470470
# Limits count of emitted suggestions for spelling mistakes.
471471
max-spelling-suggestions = 4
472472

473-
# Spelling dictionary name. Available dictionaries: en (aspell), en_AU (aspell),
474-
# en_CA (aspell), en_GB (aspell), en_US (aspell).
473+
# Spelling dictionary name. No available dictionaries : You need to install both
474+
# the python package and the system dependency for enchant to work.
475475
# spelling-dict =
476476

477477
# List of comma separated words that should be considered directives if they

pylint/__pkginfo__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
from __future__ import annotations
1111

12-
__version__ = "3.3.8"
12+
__version__ = "3.3.9"
1313

1414

1515
def get_numversion_from_version(v: str) -> tuple[int, int, int]:

0 commit comments

Comments
 (0)