Skip to content
Merged
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
51 changes: 51 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,57 @@ to your liking.

.. towncrier release notes start

What's new in Pylint 4.0.3?
---------------------------
Release date: 2025-11-13


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

- Add Enum dunder methods ``_generate_next_value_``, ``_missing_``, ``_numeric_repr_``, ``_add_alias_``, and ``_add_value_alias_`` to the list passed to ``--good-dunder-names``.

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

- Fixed false positive for ``invalid-name`` with ``typing.Annotated``.

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

- Fix false positive for ``f-string-without-interpolation`` with template strings
when using format spec.

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

- Fix a false positive when an UPPER_CASED class attribute was raising an
``invalid-name`` when typed with ``Final``.

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

- 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.

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



Other Bug Fixes
---------------

- Make 'ignore' option work as expected again.

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

- Fix crash for ``consider-using-assignment-expr`` when a variable annotation without assignment
is used as the ``if`` test expression.

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

- Fix crash for ``prefer-typing-namedtuple`` and ``consider-math-not-float`` when
a ``slice`` object is called.

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



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