Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions doc/whatsnew/4/4.0/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,30 @@ to your liking.

.. towncrier release notes start

What's new in Pylint 4.0.2?
--------------------------------
Release date: 2025-10-20


False Positives Fixed
---------------------

- Fix false positive for :ref:`invalid-name` on a partially uninferable module-level constant.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌


Closes #10652 (`#10652 <https://github.com/pylint-dev/pylint/issues/10652>`_)

- Fix a false positive for :ref:`invalid-name` on exclusive module-level assignments
composed of three or more branches. We won't raise :ref:`disallowed-name` on module-level names that can't be inferred
until a further refactor to remove this false negative is done.

Closes #10664 (`#10664 <https://github.com/pylint-dev/pylint/issues/10664>`_)

- Fix false positive for :ref:`invalid-name` for ``TypedDict`` instances.

Closes #10672 (`#10672 <https://github.com/pylint-dev/pylint/issues/10672>`_)



What's new in Pylint 4.0.1?
---------------------------
Release date: 2025-10-14
Expand Down
3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/10652.false_positive

This file was deleted.

5 changes: 0 additions & 5 deletions doc/whatsnew/fragments/10664.false_positive

This file was deleted.

3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/10672.false_positive

This file was deleted.

2 changes: 1 addition & 1 deletion pylint/__pkginfo__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from __future__ import annotations

__version__ = "4.0.1"
__version__ = "4.0.2"


def get_numversion_from_version(v: str) -> tuple[int, int, int]:
Expand Down
2 changes: 1 addition & 1 deletion tbump.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
github_url = "https://github.com/pylint-dev/pylint"

[version]
current = "4.0.1"
current = "4.0.2"
regex = '''
^(?P<major>0|[1-9]\d*)
\.
Expand Down