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 a49bb9e300f..19184aca2ba 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 * Respect ignore configuration options with ``--recursive=y``. 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/pylint/lint/expand_modules.py b/pylint/lint/expand_modules.py index 07b92895a3c..302eea9fb3a 100644 --- a/pylint/lint/expand_modules.py +++ b/pylint/lint/expand_modules.py @@ -45,9 +45,9 @@ def _is_in_ignore_list_re(element: str, ignore_list_re: List[Pattern]) -> bool: def _is_ignored_file( element: str, - ignore_list: list[str], - ignore_list_re: list[Pattern[str]], - ignore_list_paths_re: list[Pattern[str]], + ignore_list, + ignore_list_re, + ignore_list_paths_re, ) -> bool: basename = os.path.basename(element) return ( 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*) \.