diff --git a/doc/whatsnew/3/3.1/index.rst b/doc/whatsnew/3/3.1/index.rst index 7505257d26..1abe832dcb 100644 --- a/doc/whatsnew/3/3.1/index.rst +++ b/doc/whatsnew/3/3.1/index.rst @@ -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 `_) + +- Fix a false positive with ``singledispatchmethod-function`` when a method is decorated with both ``functools.singledispatchmethod`` and ``staticmethod``. + + Closes #9531 (`#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 `_) + + + What's new in Pylint 3.1.0? --------------------------- Release date: 2024-02-25 diff --git a/doc/whatsnew/fragments/9345.false_positive b/doc/whatsnew/fragments/9345.false_positive deleted file mode 100644 index af8a3866b3..0000000000 --- a/doc/whatsnew/fragments/9345.false_positive +++ /dev/null @@ -1,4 +0,0 @@ -Treat `attrs.define` and `attrs.frozen` as dataclass decorators in -`too-few-public-methods` check. - -Closes #9345 diff --git a/doc/whatsnew/fragments/9531.false_positive b/doc/whatsnew/fragments/9531.false_positive deleted file mode 100644 index b776628397..0000000000 --- a/doc/whatsnew/fragments/9531.false_positive +++ /dev/null @@ -1,3 +0,0 @@ -Fix a false positive with ``singledispatchmethod-function`` when a method is decorated with both ``functools.singledispatchmethod`` and ``staticmethod``. - -Closes #9531 diff --git a/doc/whatsnew/fragments/9554.false_positive b/doc/whatsnew/fragments/9554.false_positive deleted file mode 100644 index c8c8d71ac8..0000000000 --- a/doc/whatsnew/fragments/9554.false_positive +++ /dev/null @@ -1,3 +0,0 @@ -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