From f267cb41c6c4136aff5600346d1bcb794183d030 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Mon, 5 Dec 2022 13:29:17 +0100 Subject: [PATCH] Bump pylint to 2.15.8, update changelog --- CONTRIBUTORS.txt | 7 +++-- doc/whatsnew/2/2.15/index.rst | 33 ++++++++++++++++++++++ doc/whatsnew/fragments/3368.false_positive | 3 -- doc/whatsnew/fragments/4984.false_positive | 3 -- doc/whatsnew/fragments/7209.false_positive | 3 -- doc/whatsnew/fragments/7827.false_positive | 3 -- doc/whatsnew/fragments/7860.false_positive | 3 -- pylint/__pkginfo__.py | 2 +- script/.contributors_aliases.json | 3 +- tbump.toml | 2 +- 10 files changed, 41 insertions(+), 21 deletions(-) delete mode 100644 doc/whatsnew/fragments/3368.false_positive delete mode 100644 doc/whatsnew/fragments/4984.false_positive delete mode 100644 doc/whatsnew/fragments/7209.false_positive delete mode 100644 doc/whatsnew/fragments/7827.false_positive delete mode 100644 doc/whatsnew/fragments/7860.false_positive diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index 67a930ca3a..b7e937b4a1 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -99,19 +99,19 @@ contributors: - Joseph Young <80432516+jpy-git@users.noreply.github.com> (jpy-git) - Tim Martin - Nicolas Chauvat +- Tushar Sadhwani (tusharsadhwani) - Radu Ciorba : not-context-manager and confusing-with-statement warnings. - Holger Peters - Cosmin Poieană : unichr-builtin and improvements to bad-open-mode. -- Tushar Sadhwani (tusharsadhwani) - Steven Myint : duplicate-except. - Peter Kolbus (Garmin) - Luigi Bertaco Cristofolini (luigibertaco) - Glenn Matthews : * autogenerated documentation for optional extensions, * bug fixes and enhancements for docparams (née check_docs) extension +- Dani Alcala <112832187+clavedeluna@users.noreply.github.com> - Vlad Temian : redundant-unittest-assert and the JSON reporter. - Julien Jehannet -- Dani Alcala <112832187+clavedeluna@users.noreply.github.com> - Boris Feld - Anthony Sottile - Pedro Algarvio (s0undt3ch) @@ -119,7 +119,6 @@ contributors: - David Liu (david-yz-liu) - Dan Goldsmith : support for msg-template in HTML reporter. - Buck Evan -- orSolocate <38433858+orSolocate@users.noreply.github.com> - Mariatta Wijaya * Added new check `logging-fstring-interpolation` * Documentation typo fixes @@ -127,6 +126,7 @@ contributors: - Eli Fine (eli88fine): Fixed false positive duplicate code warning for lines with symbols only - Andrew Haigh (nelfin) - Émile Crater +- orSolocate <38433858+orSolocate@users.noreply.github.com> - Pavel Roskin - David Gilman - へーさん @@ -478,6 +478,7 @@ contributors: - Grégoire <96051754+gregoire-mullvad@users.noreply.github.com> - Grant Welch - Giuseppe Valente +- Gideon <87426140+GideonBear@users.noreply.github.com> - Gary Tyler McLeod - Felix von Drigalski - Fabrice Douchant diff --git a/doc/whatsnew/2/2.15/index.rst b/doc/whatsnew/2/2.15/index.rst index 1e404e81e3..ecbbf8f79a 100644 --- a/doc/whatsnew/2/2.15/index.rst +++ b/doc/whatsnew/2/2.15/index.rst @@ -29,6 +29,39 @@ Marc Byrne became a maintainer, welcome to the team ! .. towncrier release notes start +What's new in Pylint 2.15.8? +---------------------------- +Release date: 2022-12-05 + + +False Positives Fixed +--------------------- + +- Document a known false positive for ``useless-suppression`` when disabling + ``line-too-long`` in a module with only comments and no code. + + Closes #3368 (`#3368 `_) + +- Fix ``logging-fstring-interpolation`` false positive raised when logging and + f-string with ``%s`` formatting. + + Closes #4984 (`#4984 `_) + +- Fixes false positive ``abstract-method`` on Protocol classes. + + Closes #7209 (`#7209 `_) + +- Fix ``missing-param-doc`` false positive when function parameter has an + escaped underscore. + + Closes #7827 (`#7827 `_) + +- ``multiple-statements`` no longer triggers for function stubs using inlined + ``...``. + + Closes #7860 (`#7860 `_) + + What's new in Pylint 2.15.7? ---------------------------- Release date: 2022-11-27 diff --git a/doc/whatsnew/fragments/3368.false_positive b/doc/whatsnew/fragments/3368.false_positive deleted file mode 100644 index bdfa7de6c7..0000000000 --- a/doc/whatsnew/fragments/3368.false_positive +++ /dev/null @@ -1,3 +0,0 @@ -Document a known false positive for ``useless-suppression`` when disabling ``line-too-long`` in a module with only comments and no code. - -Closes #3368 diff --git a/doc/whatsnew/fragments/4984.false_positive b/doc/whatsnew/fragments/4984.false_positive deleted file mode 100644 index b319205641..0000000000 --- a/doc/whatsnew/fragments/4984.false_positive +++ /dev/null @@ -1,3 +0,0 @@ -Fix ``logging-fstring-interpolation`` false positive raised when logging and f-string with ``%s`` formatting. - -Closes #4984 diff --git a/doc/whatsnew/fragments/7209.false_positive b/doc/whatsnew/fragments/7209.false_positive deleted file mode 100644 index a1ba0c5d8a..0000000000 --- a/doc/whatsnew/fragments/7209.false_positive +++ /dev/null @@ -1,3 +0,0 @@ -Fixes false positive ``abstract-method`` on Protocol classes. - -Closes #7209 diff --git a/doc/whatsnew/fragments/7827.false_positive b/doc/whatsnew/fragments/7827.false_positive deleted file mode 100644 index e981fa45f1..0000000000 --- a/doc/whatsnew/fragments/7827.false_positive +++ /dev/null @@ -1,3 +0,0 @@ -Fix ``missing-param-doc`` false positive when function parameter has an escaped underscore. - -Closes #7827 diff --git a/doc/whatsnew/fragments/7860.false_positive b/doc/whatsnew/fragments/7860.false_positive deleted file mode 100644 index c76425c54b..0000000000 --- a/doc/whatsnew/fragments/7860.false_positive +++ /dev/null @@ -1,3 +0,0 @@ -``multiple-statements`` no longer triggers for function stubs using inlined ``...``. - -Closes #7860 diff --git a/pylint/__pkginfo__.py b/pylint/__pkginfo__.py index 3b7b44c379..41e2bda8cd 100644 --- a/pylint/__pkginfo__.py +++ b/pylint/__pkginfo__.py @@ -9,7 +9,7 @@ from __future__ import annotations -__version__ = "2.15.7" +__version__ = "2.15.8" def get_numversion_from_version(v: str) -> tuple[int, int, int]: diff --git a/script/.contributors_aliases.json b/script/.contributors_aliases.json index 6563c71d46..f9c6add973 100644 --- a/script/.contributors_aliases.json +++ b/script/.contributors_aliases.json @@ -185,7 +185,8 @@ "bot@noreply.github.com": { "mails": [ "66853113+pre-commit-ci[bot]@users.noreply.github.com", - "49699333+dependabot[bot]@users.noreply.github.com" + "49699333+dependabot[bot]@users.noreply.github.com", + "41898282+github-actions[bot]@users.noreply.github.com" ], "name": "bot" }, diff --git a/tbump.toml b/tbump.toml index 166afddb6d..e38f0e53f9 100644 --- a/tbump.toml +++ b/tbump.toml @@ -1,7 +1,7 @@ github_url = "https://github.com/PyCQA/pylint" [version] -current = "2.15.7" +current = "2.15.8" regex = ''' ^(?P0|[1-9]\d*) \.