From fc34a4b6abe56f3ac07ca15d846b1c1955545f85 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Fri, 5 May 2023 18:30:34 +0200 Subject: Bump pylint to 2.17.4, update changelog Co-authored-by: Jacob Walls --- doc/whatsnew/2/2.17/index.rst | 31 ++++++++++++++++++++++++++++++ doc/whatsnew/fragments/8603.bugfix | 3 --- doc/whatsnew/fragments/8613.false_positive | 3 --- doc/whatsnew/fragments/8632.bugfix | 4 ---- pylint/__pkginfo__.py | 2 +- tbump.toml | 2 +- towncrier.toml | 2 +- 7 files changed, 34 insertions(+), 13 deletions(-) delete mode 100644 doc/whatsnew/fragments/8603.bugfix delete mode 100644 doc/whatsnew/fragments/8613.false_positive delete mode 100644 doc/whatsnew/fragments/8632.bugfix diff --git a/doc/whatsnew/2/2.17/index.rst b/doc/whatsnew/2/2.17/index.rst index 974ebb501..cd14488b7 100644 --- a/doc/whatsnew/2/2.17/index.rst +++ b/doc/whatsnew/2/2.17/index.rst @@ -29,6 +29,37 @@ so we find problems before the actual release. .. towncrier release notes start +What's new in Pylint 2.17.4? +---------------------------- +Release date: 2023-05-06 + + +False Positives Fixed +--------------------- + +- Fix a false positive for ``bad-dunder-name`` when there is a user-defined + ``__index__`` method. + + Closes #8613 (`#8613 `_) + + + +Other Bug Fixes +--------------- + +- ``pyreverse``: added escaping of vertical bar character in annotation labels + produced by DOT printer to ensure it is not treated as field separator of + record-based nodes. + + Closes #8603 (`#8603 `_) + +- Fixed a crash when generating a configuration file: + ``tomlkit.exceptions.TOMLKitError: Can't add a table to a dotted key`` + caused by tomlkit ``v0.11.8``. + + Closes #8632 (`#8632 `_) + + What's new in Pylint 2.17.3? ---------------------------- Release date: 2023-04-24 diff --git a/doc/whatsnew/fragments/8603.bugfix b/doc/whatsnew/fragments/8603.bugfix deleted file mode 100644 index 1a1025c4b..000000000 --- a/doc/whatsnew/fragments/8603.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -``pyreverse``: added escaping of vertical bar character in annotation labels produced by DOT printer to ensure it is not treated as field separator of record-based nodes. - -Closes #8603 diff --git a/doc/whatsnew/fragments/8613.false_positive b/doc/whatsnew/fragments/8613.false_positive deleted file mode 100644 index 80d28e9c2..000000000 --- a/doc/whatsnew/fragments/8613.false_positive +++ /dev/null @@ -1,3 +0,0 @@ -Fix a false positive for ``bad-dunder-name`` when there is a user-defined ``__index__`` method. - -Closes #8613 diff --git a/doc/whatsnew/fragments/8632.bugfix b/doc/whatsnew/fragments/8632.bugfix deleted file mode 100644 index c6f9c01bf..000000000 --- a/doc/whatsnew/fragments/8632.bugfix +++ /dev/null @@ -1,4 +0,0 @@ -Fixed a crash when generating a configuration file: ``tomlkit.exceptions.TOMLKitError: Can't add a table to a dotted key`` -caused by tomlkit ``v0.11.8``. - -Closes #8632 diff --git a/pylint/__pkginfo__.py b/pylint/__pkginfo__.py index a140a9791..3566c348f 100644 --- a/pylint/__pkginfo__.py +++ b/pylint/__pkginfo__.py @@ -9,7 +9,7 @@ It's updated via tbump, do not modify. from __future__ import annotations -__version__ = "2.17.3" +__version__ = "2.17.4" def get_numversion_from_version(v: str) -> tuple[int, int, int]: diff --git a/tbump.toml b/tbump.toml index 62cfd5498..d1d78074c 100644 --- a/tbump.toml +++ b/tbump.toml @@ -1,7 +1,7 @@ github_url = "https://github.com/PyCQA/pylint" [version] -current = "2.17.3" +current = "2.17.4" regex = ''' ^(?P0|[1-9]\d*) \. diff --git a/towncrier.toml b/towncrier.toml index fce326ad6..d8ef40f10 100644 --- a/towncrier.toml +++ b/towncrier.toml @@ -1,5 +1,5 @@ [tool.towncrier] -version = "2.17.3" +version = "2.17.4" directory = "doc/whatsnew/fragments" filename = "doc/whatsnew/2/2.17/index.rst" template = "doc/whatsnew/fragments/_template.rst" -- cgit v1.2.1