Skip to content

Commit

Permalink
Merge maintenance/3.1.x into main following 3.1.1 release (pylint-dev…
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas authored May 13, 2024
2 parents e53fdb6 + 0d8ef10 commit 4f0c7ac
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 10 deletions.
23 changes: 23 additions & 0 deletions doc/whatsnew/3/3.1/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,29 @@ and a smattering of bug fixes.

.. towncrier release notes start
What's new in Pylint 3.1.1?
---------------------------
Release date: 2024-05-13


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

- Treat `attrs.define` and `attrs.frozen` as dataclass decorators in
`too-few-public-methods` check.

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

- Fix a false positive with ``singledispatchmethod-function`` when a method is decorated with both ``functools.singledispatchmethod`` and ``staticmethod``.

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

- Fix a false positive for ``consider-using-dict-items`` when iterating using ``keys()`` and then deleting an item using the key as a lookup.

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



What's new in Pylint 3.1.0?
---------------------------
Release date: 2024-02-25
Expand Down
4 changes: 0 additions & 4 deletions doc/whatsnew/fragments/9345.false_positive

This file was deleted.

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

This file was deleted.

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

This file was deleted.

0 comments on commit 4f0c7ac

Please sign in to comment.