Skip to content

Commit 9a30350

Browse files
Bump pylint to 4.0.1, update changelog (#10667)
1 parent 0ad9d26 commit 9a30350

File tree

6 files changed

+25
-12
lines changed

6 files changed

+25
-12
lines changed

doc/whatsnew/4/4.0/index.rst

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

7575
.. towncrier release notes start
7676
77+
What's new in Pylint 4.0.1?
78+
---------------------------
79+
Release date: 2025-10-14
80+
81+
82+
False Positives Fixed
83+
---------------------
84+
85+
- Exclude ``__all__`` and ``__future__.annotations`` from ``unused-variable``.
86+
87+
Closes #10019 (`#10019 <https://github.com/pylint-dev/pylint/issues/10019>`_)
88+
89+
- Fix false-positive for ``bare-name-capture-pattern`` if a case guard is used.
90+
91+
Closes #10647 (`#10647 <https://github.com/pylint-dev/pylint/issues/10647>`_)
92+
93+
- Check enums created with the ``Enum()`` functional syntax to pass against the
94+
``--class-rgx`` for the :ref:`invalid-name` check, like other enums.
95+
96+
Closes #10660 (`#10660 <https://github.com/pylint-dev/pylint/issues/10660>`_)
97+
98+
99+
77100
What's new in Pylint 4.0.0?
78101
---------------------------
79102
Release date: 2025-10-12

doc/whatsnew/fragments/10019.false_positive

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

doc/whatsnew/fragments/10647.false_positive

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

doc/whatsnew/fragments/10660.false_positive

Lines changed: 0 additions & 4 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.0"
12+
__version__ = "4.0.1"
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.0"
4+
current = "4.0.1"
55
regex = '''
66
^(?P<major>0|[1-9]\d*)
77
\.

0 commit comments

Comments
 (0)