diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index fd6f1796875..42163d96109 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 f48f42c2e8a..49ffdcf043c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -16,9 +16,15 @@ Release date: TBA (Ie. not necessarily at the end) +What's New in Pylint 2.13.10? +============================= +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 9ac08af5a0c..91585ad9e14 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 9cba6e05798..5f00734e9b7 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 0bc188dd329..f9d6a7e5665 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*) \.