From ad8dcf60e377ebbc2b1ef0dff279fa0e266b88bc Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Mon, 9 May 2022 21:16:34 +0200 Subject: [PATCH] Bump pylint to 2.13.9, update changelog --- CONTRIBUTORS.txt | 2 +- ChangeLog | 2 +- pylint/__pkginfo__.py | 2 +- pylint/checkers/utils.py | 2 +- tbump.toml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index fd6f179687..42163d9610 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -89,8 +89,8 @@ contributors: - Ville Skyttä - Matus Valo - Pierre-Yves David -- David Shea : invalid sequence and slice index - Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com> +- David Shea : invalid sequence and slice index - Derek Gustafson - Cezar Elnazli : deprecated-method - Nicolas Chauvat diff --git a/ChangeLog b/ChangeLog index ccce125a1b..2fb906cc42 100644 --- a/ChangeLog +++ b/ChangeLog @@ -18,7 +18,7 @@ Release date: TBA What's New in Pylint 2.13.9? ============================ -Release date: TBA +Release date: 2022-05-09 * Fix false positives for ``no-name-in-module`` and ``import-error`` for ``numpy.distutils`` and ``pydantic``. diff --git a/pylint/__pkginfo__.py b/pylint/__pkginfo__.py index 9ac08af5a0..91585ad9e1 100644 --- a/pylint/__pkginfo__.py +++ b/pylint/__pkginfo__.py @@ -4,7 +4,7 @@ from typing import Tuple -__version__ = "2.13.8" +__version__ = "2.13.9" def get_numversion_from_version(v: str) -> Tuple: diff --git a/pylint/checkers/utils.py b/pylint/checkers/utils.py index 9cba6e0579..5f00734e9b 100644 --- a/pylint/checkers/utils.py +++ b/pylint/checkers/utils.py @@ -820,7 +820,7 @@ def uninferable_final_decorators( """ decorators = [] for decorator in getattr(node, "nodes", []): - import_nodes: tuple[nodes.Import | nodes.ImportFrom] | None = None + import_nodes = None # Get the `Import` node. The decorator is of the form: @module.name if isinstance(decorator, nodes.Attribute): diff --git a/tbump.toml b/tbump.toml index 0bc188dd32..f9d6a7e566 100644 --- a/tbump.toml +++ b/tbump.toml @@ -1,7 +1,7 @@ github_url = "https://github.com/PyCQA/pylint" [version] -current = "2.13.8" +current = "2.13.9" regex = ''' ^(?P0|[1-9]\d*) \.