Skip to content

Commit 84b6552

Browse files
Bump pylint to 4.0.3, update changelog (#10741)
1 parent 77b0cd8 commit 84b6552

File tree

11 files changed

+53
-30
lines changed

11 files changed

+53
-30
lines changed

doc/whatsnew/4/4.0/index.rst

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

7575
.. towncrier release notes start
7676
77+
What's new in Pylint 4.0.3?
78+
---------------------------
79+
Release date: 2025-11-13
80+
81+
82+
False Positives Fixed
83+
---------------------
84+
85+
- Add Enum dunder methods ``_generate_next_value_``, ``_missing_``, ``_numeric_repr_``, ``_add_alias_``, and ``_add_value_alias_`` to the list passed to ``--good-dunder-names``.
86+
87+
Closes #10435 (`#10435 <https://github.com/pylint-dev/pylint/issues/10435>`_)
88+
89+
- Fixed false positive for ``invalid-name`` with ``typing.Annotated``.
90+
91+
Closes #10696 (`#10696 <https://github.com/pylint-dev/pylint/issues/10696>`_)
92+
93+
- Fix false positive for ``f-string-without-interpolation`` with template strings
94+
when using format spec.
95+
96+
Closes #10702 (`#10702 <https://github.com/pylint-dev/pylint/issues/10702>`_)
97+
98+
- Fix a false positive when an UPPER_CASED class attribute was raising an
99+
``invalid-name`` when typed with ``Final``.
100+
101+
Closes #10711 (`#10711 <https://github.com/pylint-dev/pylint/issues/10711>`_)
102+
103+
- Fix a false positive for ``unbalanced-tuple-unpacking`` when a tuple is assigned to a function call and the structure of the function's return value is ambiguous.
104+
105+
Closes #10721 (`#10721 <https://github.com/pylint-dev/pylint/issues/10721>`_)
106+
107+
108+
109+
Other Bug Fixes
110+
---------------
111+
112+
- Make 'ignore' option work as expected again.
113+
114+
Closes #10669 (`#10669 <https://github.com/pylint-dev/pylint/issues/10669>`_)
115+
116+
- Fix crash for ``consider-using-assignment-expr`` when a variable annotation without assignment
117+
is used as the ``if`` test expression.
118+
119+
Closes #10707 (`#10707 <https://github.com/pylint-dev/pylint/issues/10707>`_)
120+
121+
- Fix crash for ``prefer-typing-namedtuple`` and ``consider-math-not-float`` when
122+
a ``slice`` object is called.
123+
124+
Closes #10708 (`#10708 <https://github.com/pylint-dev/pylint/issues/10708>`_)
125+
126+
127+
77128
What's new in Pylint 4.0.2?
78129
--------------------------------
79130
Release date: 2025-10-20

doc/whatsnew/fragments/10435.false_positive

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

doc/whatsnew/fragments/10669.bugfix

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

doc/whatsnew/fragments/10696.false_positive

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

doc/whatsnew/fragments/10702.false_positive

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

doc/whatsnew/fragments/10707.bugfix

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

doc/whatsnew/fragments/10708.bugfix

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

doc/whatsnew/fragments/10711.false_positive

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

doc/whatsnew/fragments/10721.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.2"
12+
__version__ = "4.0.3"
1313

1414

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

0 commit comments

Comments
 (0)