From b8a7cc512d4e3dc24c010eef0526d294557e40ef Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Mon, 25 Sep 2023 13:49:04 +0200 Subject: [PATCH] Bump pylint to 2.17.6, update changelog (#9064) --- doc/whatsnew/2/2.17/index.rst | 39 ++++++++++++++++++++++++++++++ doc/whatsnew/fragments/7229.bugfix | 5 ---- doc/whatsnew/fragments/7710.bugfix | 4 --- doc/whatsnew/fragments/8189.bugfix | 3 --- doc/whatsnew/fragments/8522.bugfix | 3 --- doc/whatsnew/fragments/8888.bugfix | 3 --- doc/whatsnew/fragments/9014.bugfix | 3 --- pylint/__pkginfo__.py | 2 +- tbump.toml | 2 +- towncrier.toml | 2 +- 10 files changed, 42 insertions(+), 24 deletions(-) delete mode 100644 doc/whatsnew/fragments/7229.bugfix delete mode 100644 doc/whatsnew/fragments/7710.bugfix delete mode 100644 doc/whatsnew/fragments/8189.bugfix delete mode 100644 doc/whatsnew/fragments/8522.bugfix delete mode 100644 doc/whatsnew/fragments/8888.bugfix delete mode 100644 doc/whatsnew/fragments/9014.bugfix diff --git a/doc/whatsnew/2/2.17/index.rst b/doc/whatsnew/2/2.17/index.rst index 345fb0a43b..04005f2601 100644 --- a/doc/whatsnew/2/2.17/index.rst +++ b/doc/whatsnew/2/2.17/index.rst @@ -29,6 +29,45 @@ so we find problems before the actual release. .. towncrier release notes start +What's new in Pylint 2.17.6? +---------------------------- +Release date: 2023-09-24 + + +Other Bug Fixes +--------------- + +- When parsing comma-separated lists of regular expressions in the config, + ignore + commas that are inside braces since those indicate quantifiers, not + delineation + between expressions. + + Closes #7229 (`#7229 `_) + +- ``sys.argv`` is now always correctly considered as impossible to infer + (instead of + using the actual values given to pylint). + + Closes #7710 (`#7710 `_) + +- Don't show class fields more than once in Pyreverse diagrams. + + Closes #8189 (`#8189 `_) + +- Don't show arrows more than once in Pyreverse diagrams. + + Closes #8522 (`#8522 `_) + +- Don't show duplicate type annotations in Pyreverse diagrams. + + Closes #8888 (`#8888 `_) + +- Don't add `Optional` to `|` annotations with `None` in Pyreverse diagrams. + + Closes #9014 (`#9014 `_) + + What's new in Pylint 2.17.5? ---------------------------- Release date: 2023-07-26 diff --git a/doc/whatsnew/fragments/7229.bugfix b/doc/whatsnew/fragments/7229.bugfix deleted file mode 100644 index c39e130192..0000000000 --- a/doc/whatsnew/fragments/7229.bugfix +++ /dev/null @@ -1,5 +0,0 @@ -When parsing comma-separated lists of regular expressions in the config, ignore -commas that are inside braces since those indicate quantifiers, not delineation -between expressions. - -Closes #7229 diff --git a/doc/whatsnew/fragments/7710.bugfix b/doc/whatsnew/fragments/7710.bugfix deleted file mode 100644 index 61ee5243d7..0000000000 --- a/doc/whatsnew/fragments/7710.bugfix +++ /dev/null @@ -1,4 +0,0 @@ -``sys.argv`` is now always correctly considered as impossible to infer (instead of -using the actual values given to pylint). - -Closes #7710 diff --git a/doc/whatsnew/fragments/8189.bugfix b/doc/whatsnew/fragments/8189.bugfix deleted file mode 100644 index b7d3460567..0000000000 --- a/doc/whatsnew/fragments/8189.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -Don't show class fields more than once in Pyreverse diagrams. - -Closes #8189 diff --git a/doc/whatsnew/fragments/8522.bugfix b/doc/whatsnew/fragments/8522.bugfix deleted file mode 100644 index 2bfc88ee5f..0000000000 --- a/doc/whatsnew/fragments/8522.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -Don't show arrows more than once in Pyreverse diagrams. - -Closes #8522 diff --git a/doc/whatsnew/fragments/8888.bugfix b/doc/whatsnew/fragments/8888.bugfix deleted file mode 100644 index 7208a46493..0000000000 --- a/doc/whatsnew/fragments/8888.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -Don't show duplicate type annotations in Pyreverse diagrams. - -Closes #8888 diff --git a/doc/whatsnew/fragments/9014.bugfix b/doc/whatsnew/fragments/9014.bugfix deleted file mode 100644 index a461855e25..0000000000 --- a/doc/whatsnew/fragments/9014.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -Don't add `Optional` to `|` annotations with `None` in Pyreverse diagrams. - -Closes #9014 diff --git a/pylint/__pkginfo__.py b/pylint/__pkginfo__.py index 052a92c3a2..f653dbc21e 100644 --- a/pylint/__pkginfo__.py +++ b/pylint/__pkginfo__.py @@ -9,7 +9,7 @@ from __future__ import annotations -__version__ = "2.17.5" +__version__ = "2.17.6" def get_numversion_from_version(v: str) -> tuple[int, int, int]: diff --git a/tbump.toml b/tbump.toml index ca1a2e9cd9..4752ca6511 100644 --- a/tbump.toml +++ b/tbump.toml @@ -1,7 +1,7 @@ github_url = "https://github.com/pylint-dev/pylint" [version] -current = "2.17.5" +current = "2.17.6" regex = ''' ^(?P0|[1-9]\d*) \. diff --git a/towncrier.toml b/towncrier.toml index d12644bfdc..323da861a1 100644 --- a/towncrier.toml +++ b/towncrier.toml @@ -1,5 +1,5 @@ [tool.towncrier] -version = "2.17.5" +version = "2.17.6" directory = "doc/whatsnew/fragments" filename = "doc/whatsnew/2/2.17/index.rst" template = "doc/whatsnew/fragments/_template.rst"