From e93c503c35a615f15f07c84d159ae2ecc819e72c Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Thu, 15 Dec 2022 23:22:34 +0100 Subject: [PATCH] Bump pylint to 2.15.9, update changelog --- doc/whatsnew/2/2.15/index.rst | 34 ++++++++++++++++++++++ doc/whatsnew/fragments/3899.bugfix | 4 --- doc/whatsnew/fragments/5327.false_positive | 4 --- doc/whatsnew/fragments/7931.bugfix | 3 -- doc/whatsnew/fragments/7938.bugfix | 3 -- pylint/__pkginfo__.py | 2 +- tbump.toml | 2 +- 7 files changed, 36 insertions(+), 16 deletions(-) delete mode 100644 doc/whatsnew/fragments/3899.bugfix delete mode 100644 doc/whatsnew/fragments/5327.false_positive delete mode 100644 doc/whatsnew/fragments/7931.bugfix delete mode 100644 doc/whatsnew/fragments/7938.bugfix diff --git a/doc/whatsnew/2/2.15/index.rst b/doc/whatsnew/2/2.15/index.rst index ecbbf8f79a..54b70fa90b 100644 --- a/doc/whatsnew/2/2.15/index.rst +++ b/doc/whatsnew/2/2.15/index.rst @@ -29,6 +29,40 @@ Marc Byrne became a maintainer, welcome to the team ! .. towncrier release notes start +What's new in Pylint 2.15.9? +---------------------------- +Release date: 2022-12-15 + + +False Positives Fixed +--------------------- + +- Fix false-positive for ``used-before-assignment`` in pattern matching + with a guard. + + Closes #5327 (`#5327 `_) + + + +Other Bug Fixes +--------------- + +- Pylint will no longer deadlock if a parallel job is killed but fail + immediately instead. + + Closes #3899 (`#3899 `_) + +- When pylint exit due to bad arguments being provided the exit code will now + be the expected ``32``. + + Refs #7931 (`#7931 `_) + +- Fixes a ``ModuleNotFound`` exception when running pylint on a Django project + with the ``pylint_django`` plugin enabled. + + Closes #7938 (`#7938 `_) + + What's new in Pylint 2.15.8? ---------------------------- Release date: 2022-12-05 diff --git a/doc/whatsnew/fragments/3899.bugfix b/doc/whatsnew/fragments/3899.bugfix deleted file mode 100644 index ed0ad38594..0000000000 --- a/doc/whatsnew/fragments/3899.bugfix +++ /dev/null @@ -1,4 +0,0 @@ -Pylint will no longer deadlock if a parallel job is killed but fail -immediately instead. - -Closes #3899 diff --git a/doc/whatsnew/fragments/5327.false_positive b/doc/whatsnew/fragments/5327.false_positive deleted file mode 100644 index 0cac649f80..0000000000 --- a/doc/whatsnew/fragments/5327.false_positive +++ /dev/null @@ -1,4 +0,0 @@ -Fix false-positive for ``used-before-assignment`` in pattern matching -with a guard. - -Closes #5327 diff --git a/doc/whatsnew/fragments/7931.bugfix b/doc/whatsnew/fragments/7931.bugfix deleted file mode 100644 index fe42346f43..0000000000 --- a/doc/whatsnew/fragments/7931.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -When pylint exit due to bad arguments being provided the exit code will now be the expected ``32``. - -Refs #7931 diff --git a/doc/whatsnew/fragments/7938.bugfix b/doc/whatsnew/fragments/7938.bugfix deleted file mode 100644 index 1cffb9d1f4..0000000000 --- a/doc/whatsnew/fragments/7938.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -Fixes a ``ModuleNotFound`` exception when running pylint on a Django project with the ``pylint_django`` plugin enabled. - -Closes #7938 diff --git a/pylint/__pkginfo__.py b/pylint/__pkginfo__.py index 41e2bda8cd..9bcdadb07d 100644 --- a/pylint/__pkginfo__.py +++ b/pylint/__pkginfo__.py @@ -9,7 +9,7 @@ from __future__ import annotations -__version__ = "2.15.8" +__version__ = "2.15.9" def get_numversion_from_version(v: str) -> tuple[int, int, int]: diff --git a/tbump.toml b/tbump.toml index e38f0e53f9..db284a4b06 100644 --- a/tbump.toml +++ b/tbump.toml @@ -1,7 +1,7 @@ github_url = "https://github.com/PyCQA/pylint" [version] -current = "2.15.8" +current = "2.15.9" regex = ''' ^(?P0|[1-9]\d*) \.