From 032c0d2c5c8bb05f11b82dd6710aedcb485c08da Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Sun, 21 Jul 2024 08:49:58 -0400 Subject: [PATCH] Bump pylint to 3.2.6, update changelog --- doc/whatsnew/3/3.2/index.rst | 45 ++++++++++++++++++++++ doc/whatsnew/fragments/9214.bugfix | 3 -- doc/whatsnew/fragments/9672.false_positive | 4 -- doc/whatsnew/fragments/9739.false_positive | 3 -- doc/whatsnew/fragments/9765.false_positive | 4 -- doc/whatsnew/fragments/9780.false_positive | 3 -- doc/whatsnew/fragments/9800.false_negative | 3 -- doc/whatsnew/fragments/9814.bugfix | 3 -- pylint/__pkginfo__.py | 2 +- tbump.toml | 2 +- towncrier.toml | 2 +- 11 files changed, 48 insertions(+), 26 deletions(-) delete mode 100644 doc/whatsnew/fragments/9214.bugfix delete mode 100644 doc/whatsnew/fragments/9672.false_positive delete mode 100644 doc/whatsnew/fragments/9739.false_positive delete mode 100644 doc/whatsnew/fragments/9765.false_positive delete mode 100644 doc/whatsnew/fragments/9780.false_positive delete mode 100644 doc/whatsnew/fragments/9800.false_negative delete mode 100644 doc/whatsnew/fragments/9814.bugfix diff --git a/doc/whatsnew/3/3.2/index.rst b/doc/whatsnew/3/3.2/index.rst index 2d084b10c9..985344f552 100644 --- a/doc/whatsnew/3/3.2/index.rst +++ b/doc/whatsnew/3/3.2/index.rst @@ -14,6 +14,51 @@ Summary -- Release highlights .. towncrier release notes start +What's new in Pylint 3.2.6? +--------------------------- +Release date: 2024-07-21 + + +False Positives Fixed +--------------------- + +- Quiet false positives for `unexpected-keyword-arg` when pylint cannot + determine which of two or more dynamically defined classes is being instantiated. + + Closes #9672 (`#9672 `_) + +- Fix a false positive for ``missing-param-doc`` where a method which is decorated with ``typing.overload`` was expected to have a docstring specifying its parameters. + + Closes #9739 (`#9739 `_) + +- Fix a regression that raised ``invalid-name`` on class attributes merely + overriding invalid names from an ancestor. + + Closes #9765 (`#9765 `_) + +- Treat `assert_never()` the same way when imported from `typing_extensions`. + + Closes #9780 (`#9780 `_) + +- Fix a false positive for `consider-using-min-max-builtin` when the assignment target is an attribute. + + Refs #9800 (`#9800 `_) + + + +Other Bug Fixes +--------------- + +- Fix an `AssertionError` arising from properties that return partial functions. + + Closes #9214 (`#9214 `_) + +- Fix a crash when a subclass extends ``__slots__``. + + Closes #9814 (`#9814 `_) + + + What's new in Pylint 3.2.5? --------------------------- Release date: 2024-06-28 diff --git a/doc/whatsnew/fragments/9214.bugfix b/doc/whatsnew/fragments/9214.bugfix deleted file mode 100644 index 1c15468882..0000000000 --- a/doc/whatsnew/fragments/9214.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -Fix an `AssertionError` arising from properties that return partial functions. - -Closes #9214 diff --git a/doc/whatsnew/fragments/9672.false_positive b/doc/whatsnew/fragments/9672.false_positive deleted file mode 100644 index 5838bdc4f3..0000000000 --- a/doc/whatsnew/fragments/9672.false_positive +++ /dev/null @@ -1,4 +0,0 @@ -Quiet false positives for `unexpected-keyword-arg` when pylint cannot -determine which of two or more dynamically defined classes are being instantiated. - -Closes #9672 diff --git a/doc/whatsnew/fragments/9739.false_positive b/doc/whatsnew/fragments/9739.false_positive deleted file mode 100644 index 29cbab4c8e..0000000000 --- a/doc/whatsnew/fragments/9739.false_positive +++ /dev/null @@ -1,3 +0,0 @@ -Fix a false positive for ``missing-param-doc`` where a method which is decorated with ``typing.overload`` was expected to have a docstring specifying its parameters. - -Closes #9739 diff --git a/doc/whatsnew/fragments/9765.false_positive b/doc/whatsnew/fragments/9765.false_positive deleted file mode 100644 index c85df15eee..0000000000 --- a/doc/whatsnew/fragments/9765.false_positive +++ /dev/null @@ -1,4 +0,0 @@ -Fix a regression that raised ``invalid-name`` on class attributes merely -overriding invalid names from an ancestor. - -Closes #9765 diff --git a/doc/whatsnew/fragments/9780.false_positive b/doc/whatsnew/fragments/9780.false_positive deleted file mode 100644 index 219a4b500e..0000000000 --- a/doc/whatsnew/fragments/9780.false_positive +++ /dev/null @@ -1,3 +0,0 @@ -Treat `assert_never()` the same way when imported from `typing_extensions`. - -Closes #9780 diff --git a/doc/whatsnew/fragments/9800.false_negative b/doc/whatsnew/fragments/9800.false_negative deleted file mode 100644 index d7d09caf8f..0000000000 --- a/doc/whatsnew/fragments/9800.false_negative +++ /dev/null @@ -1,3 +0,0 @@ -Fix a false positive for `consider-using-min-max-builtin` when the assignment target is an attribute. - -Refs #9800 diff --git a/doc/whatsnew/fragments/9814.bugfix b/doc/whatsnew/fragments/9814.bugfix deleted file mode 100644 index 0d635e6bfd..0000000000 --- a/doc/whatsnew/fragments/9814.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -Fix a crash when a subclass extends ``__slots__``. - -Closes #9814 diff --git a/pylint/__pkginfo__.py b/pylint/__pkginfo__.py index 412b31c3ca..729826c7e2 100644 --- a/pylint/__pkginfo__.py +++ b/pylint/__pkginfo__.py @@ -9,7 +9,7 @@ from __future__ import annotations -__version__ = "3.2.5" +__version__ = "3.2.6" def get_numversion_from_version(v: str) -> tuple[int, int, int]: diff --git a/tbump.toml b/tbump.toml index 15ec0bc4e5..e1970b7635 100644 --- a/tbump.toml +++ b/tbump.toml @@ -1,7 +1,7 @@ github_url = "https://github.com/pylint-dev/pylint" [version] -current = "3.2.5" +current = "3.2.6" regex = ''' ^(?P0|[1-9]\d*) \. diff --git a/towncrier.toml b/towncrier.toml index 6e7a58f91e..0dd2b2a486 100644 --- a/towncrier.toml +++ b/towncrier.toml @@ -1,5 +1,5 @@ [tool.towncrier] -version = "3.2.5" +version = "3.2.6" directory = "doc/whatsnew/fragments" filename = "doc/whatsnew/3/3.2/index.rst" template = "doc/whatsnew/fragments/_template.rst"