From 5a96370ff556fd71cc228ccb5c26b70e55041028 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Tue, 29 Nov 2022 12:09:46 +0100 Subject: [PATCH] Bump pylint to 2.15.7, update changelog (#7845) --- CONTRIBUTORS.txt | 1 + doc/whatsnew/2/2.15/index.rst | 35 ++++++++++++++++++++++ doc/whatsnew/fragments/5886.false_positive | 3 -- doc/whatsnew/fragments/6242.bugfix | 4 --- doc/whatsnew/fragments/7609.false_positive | 4 --- doc/whatsnew/fragments/7828.bugfix | 3 -- pylint/__pkginfo__.py | 2 +- tbump.toml | 2 +- 8 files changed, 38 insertions(+), 16 deletions(-) delete mode 100644 doc/whatsnew/fragments/5886.false_positive delete mode 100644 doc/whatsnew/fragments/6242.bugfix delete mode 100644 doc/whatsnew/fragments/7609.false_positive delete mode 100644 doc/whatsnew/fragments/7828.bugfix diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index 05e6c96334..67a930ca3a 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -483,6 +483,7 @@ contributors: - Fabrice Douchant - Fabio Natali - Fabian Damken +- Eric McDonald <221418+emcd@users.noreply.github.com> - Eric Froemling - Emmanuel Chaudron - Elizabeth Bott <52465744+elizabethbott@users.noreply.github.com> diff --git a/doc/whatsnew/2/2.15/index.rst b/doc/whatsnew/2/2.15/index.rst index beb563e4c1..1e404e81e3 100644 --- a/doc/whatsnew/2/2.15/index.rst +++ b/doc/whatsnew/2/2.15/index.rst @@ -29,6 +29,41 @@ Marc Byrne became a maintainer, welcome to the team ! .. towncrier release notes start +What's new in Pylint 2.15.7? +---------------------------- +Release date: 2022-11-27 + + +False Positives Fixed +--------------------- + +- Fix ``deprecated-method`` false positive when alias for method is similar to + name of deprecated method. + + Closes #5886 (`#5886 `_) + +- Fix a false positive for ``used-before-assignment`` for imports guarded by + ``typing.TYPE_CHECKING`` later used in variable annotations. + + Closes #7609 (`#7609 `_) + + + +Other Bug Fixes +--------------- + +- Pylint will now filter duplicates given to it before linting. The output + should + be the same whether a file is given/discovered multiple times or not. + + Closes #6242, #4053 (`#6242 `_) + +- Fixes a crash in ``stop-iteration-return`` when the ``next`` builtin is + called without arguments. + + Closes #7828 (`#7828 `_) + + What's new in Pylint 2.15.6? ---------------------------- Release date: 2022-11-19 diff --git a/doc/whatsnew/fragments/5886.false_positive b/doc/whatsnew/fragments/5886.false_positive deleted file mode 100644 index d6ab03940b..0000000000 --- a/doc/whatsnew/fragments/5886.false_positive +++ /dev/null @@ -1,3 +0,0 @@ -Fix ``deprecated-method`` false positive when alias for method is similar to name of deprecated method. - -Closes #5886 diff --git a/doc/whatsnew/fragments/6242.bugfix b/doc/whatsnew/fragments/6242.bugfix deleted file mode 100644 index 25d323e7e7..0000000000 --- a/doc/whatsnew/fragments/6242.bugfix +++ /dev/null @@ -1,4 +0,0 @@ -Pylint will now filter duplicates given to it before linting. The output should -be the same whether a file is given/discovered multiple times or not. - -Closes #6242, #4053 diff --git a/doc/whatsnew/fragments/7609.false_positive b/doc/whatsnew/fragments/7609.false_positive deleted file mode 100644 index 5c91f396ee..0000000000 --- a/doc/whatsnew/fragments/7609.false_positive +++ /dev/null @@ -1,4 +0,0 @@ -Fix a false positive for ``used-before-assignment`` for imports guarded by -``typing.TYPE_CHECKING`` later used in variable annotations. - -Closes #7609 diff --git a/doc/whatsnew/fragments/7828.bugfix b/doc/whatsnew/fragments/7828.bugfix deleted file mode 100644 index f47cc3cc95..0000000000 --- a/doc/whatsnew/fragments/7828.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -Fixes a crash in ``stop-iteration-return`` when the ``next`` builtin is called without arguments. - -Closes #7828 diff --git a/pylint/__pkginfo__.py b/pylint/__pkginfo__.py index f8280c24d6..3b7b44c379 100644 --- a/pylint/__pkginfo__.py +++ b/pylint/__pkginfo__.py @@ -9,7 +9,7 @@ from __future__ import annotations -__version__ = "2.15.6" +__version__ = "2.15.7" def get_numversion_from_version(v: str) -> tuple[int, int, int]: diff --git a/tbump.toml b/tbump.toml index dda83891de..166afddb6d 100644 --- a/tbump.toml +++ b/tbump.toml @@ -1,7 +1,7 @@ github_url = "https://github.com/PyCQA/pylint" [version] -current = "2.15.6" +current = "2.15.7" regex = ''' ^(?P0|[1-9]\d*) \.