Skip to content

Commit 0eb92d2

Browse files
Bump pylint to 4.0.2, update changelog
1 parent caf95d5 commit 0eb92d2

File tree

6 files changed

+26
-13
lines changed

6 files changed

+26
-13
lines changed

doc/whatsnew/4/4.0/index.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,30 @@ to your liking.
7474

7575
.. towncrier release notes start
7676
77+
What's new in Pylint 4.0.2?
78+
--------------------------------
79+
Release date: 2025-10-20
80+
81+
82+
False Positives Fixed
83+
---------------------
84+
85+
- Fix false positive for :ref:`invalid-name` on a partially uninferable module-level constant.
86+
87+
Closes #10652 (`#10652 <https://github.com/pylint-dev/pylint/issues/10652>`_)
88+
89+
- Fix a false positive for :ref:`invalid-name` on exclusive module-level assignments
90+
composed of three or more branches. We won't raise :ref:`disallowed-name` on module-level names that can't be inferred
91+
until a further refactor to remove this false negative is done.
92+
93+
Closes #10664 (`#10664 <https://github.com/pylint-dev/pylint/issues/10664>`_)
94+
95+
- Fix false positive for :ref:`invalid-name` for ``TypedDict`` instances.
96+
97+
Closes #10672 (`#10672 <https://github.com/pylint-dev/pylint/issues/10672>`_)
98+
99+
100+
77101
What's new in Pylint 4.0.1?
78102
---------------------------
79103
Release date: 2025-10-14

doc/whatsnew/fragments/10652.false_positive

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

doc/whatsnew/fragments/10664.false_positive

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

doc/whatsnew/fragments/10672.false_positive

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

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__ = "4.0.1"
12+
__version__ = "4.0.2"
1313

1414

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

tbump.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
github_url = "https://github.com/pylint-dev/pylint"
22

33
[version]
4-
current = "4.0.1"
4+
current = "4.0.2"
55
regex = '''
66
^(?P<major>0|[1-9]\d*)
77
\.

0 commit comments

Comments
 (0)