From 403dac602ee01e317a22800e0d63bdeb0c2faa7e Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Fri, 16 Sep 2022 17:06:32 +0200 Subject: [PATCH] Bump pylint to 2.15.3, update changelog --- doc/whatsnew/2/2.15/index.rst | 24 ++++++++++++++++++++++ doc/whatsnew/fragments/4809.false_positive | 3 --- doc/whatsnew/fragments/7311.false_positive | 4 ---- doc/whatsnew/fragments/7453.bugfix | 3 --- doc/whatsnew/fragments/7461.bugfix | 3 --- doc/whatsnew/fragments/7467.bugfix | 3 --- doc/whatsnew/fragments/7471.bugfix | 3 --- pylint/__pkginfo__.py | 2 +- tbump.toml | 2 +- 9 files changed, 26 insertions(+), 21 deletions(-) delete mode 100644 doc/whatsnew/fragments/4809.false_positive delete mode 100644 doc/whatsnew/fragments/7311.false_positive delete mode 100644 doc/whatsnew/fragments/7453.bugfix delete mode 100644 doc/whatsnew/fragments/7461.bugfix delete mode 100644 doc/whatsnew/fragments/7467.bugfix delete mode 100644 doc/whatsnew/fragments/7471.bugfix diff --git a/doc/whatsnew/2/2.15/index.rst b/doc/whatsnew/2/2.15/index.rst index b70ca4dba3..0f1bb04238 100644 --- a/doc/whatsnew/2/2.15/index.rst +++ b/doc/whatsnew/2/2.15/index.rst @@ -29,6 +29,30 @@ Marc Byrne became a maintainer, welcome to the team ! .. towncrier release notes start +What's new in Pylint 2.15.3? +---------------------------- +Release date: 2022-09-19 + + +- Fixed a crash in the ``unhashable-member`` checker when using a ``lambda`` as a dict key. + + Closes #7453 (`#7453 `_) +- Fix a crash in the ``modified-iterating-dict`` checker involving instance attributes. + + Closes #7461 (`#7461 `_) +- ``invalid-class-object`` does not crash anymore when ``__class__`` is assigned alongside another variable. + + Closes #7467 (`#7467 `_) +- Fix false positive for ``global-variable-not-assigned`` when a global variable is re-assigned via an ``ImportFrom`` node. + + Closes #4809 (`#4809 `_) +- Fix false positive for ``undefined-loop-variable`` in ``for-else`` loops that use a function + having a return type annotation of ``NoReturn`` or ``Never``. + + Closes #7311 (`#7311 `_) +- ``--help-msg`` now accepts a comma-separated list of message IDs again. + + Closes #7471 (`#7471 `_) What's new in Pylint 2.15.2? ---------------------------- diff --git a/doc/whatsnew/fragments/4809.false_positive b/doc/whatsnew/fragments/4809.false_positive deleted file mode 100644 index a33be0ea50..0000000000 --- a/doc/whatsnew/fragments/4809.false_positive +++ /dev/null @@ -1,3 +0,0 @@ -Fix false positive for ``global-variable-not-assigned`` when a global variable is re-assigned via an ``ImportFrom`` node. - -Closes #4809 diff --git a/doc/whatsnew/fragments/7311.false_positive b/doc/whatsnew/fragments/7311.false_positive deleted file mode 100644 index 84d57502b4..0000000000 --- a/doc/whatsnew/fragments/7311.false_positive +++ /dev/null @@ -1,4 +0,0 @@ -Fix false positive for ``undefined-loop-variable`` in ``for-else`` loops that use a function -having a return type annotation of ``NoReturn`` or ``Never``. - -Closes #7311 diff --git a/doc/whatsnew/fragments/7453.bugfix b/doc/whatsnew/fragments/7453.bugfix deleted file mode 100644 index 94b5240dd4..0000000000 --- a/doc/whatsnew/fragments/7453.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -Fixed a crash in the ``unhashable-member`` checker when using a ``lambda`` as a dict key. - -Closes #7453 diff --git a/doc/whatsnew/fragments/7461.bugfix b/doc/whatsnew/fragments/7461.bugfix deleted file mode 100644 index 1fb503c9ab..0000000000 --- a/doc/whatsnew/fragments/7461.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -Fix a crash in the ``modified-iterating-dict`` checker involving instance attributes. - -Closes #7461 diff --git a/doc/whatsnew/fragments/7467.bugfix b/doc/whatsnew/fragments/7467.bugfix deleted file mode 100644 index 7e76f86a07..0000000000 --- a/doc/whatsnew/fragments/7467.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -``invalid-class-object`` does not crash anymore when ``__class__`` is assigned alongside another variable. - -Closes #7467 diff --git a/doc/whatsnew/fragments/7471.bugfix b/doc/whatsnew/fragments/7471.bugfix deleted file mode 100644 index b1b6f369c9..0000000000 --- a/doc/whatsnew/fragments/7471.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -``--help-msg`` now accepts a comma-separated list of message IDs again. - -Closes #7471 diff --git a/pylint/__pkginfo__.py b/pylint/__pkginfo__.py index fe000c1ada..93f237ecb0 100644 --- a/pylint/__pkginfo__.py +++ b/pylint/__pkginfo__.py @@ -9,7 +9,7 @@ from __future__ import annotations -__version__ = "2.15.2" +__version__ = "2.15.3" def get_numversion_from_version(v: str) -> tuple[int, int, int]: diff --git a/tbump.toml b/tbump.toml index 5c34271ce2..3c7efb0f6b 100644 --- a/tbump.toml +++ b/tbump.toml @@ -1,7 +1,7 @@ github_url = "https://github.com/PyCQA/pylint" [version] -current = "2.15.2" +current = "2.15.3" regex = ''' ^(?P0|[1-9]\d*) \.