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
23 changes: 23 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,29 @@ to your liking.

.. towncrier release notes start

What's new in Pylint 4.0.1?
---------------------------
Release date: 2025-10-14


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

- Exclude ``__all__`` and ``__future__.annotations`` from ``unused-variable``.

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

- Fix false-positive for ``bare-name-capture-pattern`` if a case guard is used.

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

- Check enums created with the ``Enum()`` functional syntax to pass against the
``--class-rgx`` for the :ref:`invalid-name` check, like other enums.

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



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

This file was deleted.

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

This file was deleted.

4 changes: 0 additions & 4 deletions doc/whatsnew/fragments/10660.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.0"
__version__ = "4.0.1"


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