From 36da6546cbdc262e9959ec716fc183bc3c0ce7a9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 25 Mar 2023 16:14:12 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pylint/checkers/variables.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pylint/checkers/variables.py b/pylint/checkers/variables.py index 7af19c1ece..a558632b8e 100644 --- a/pylint/checkers/variables.py +++ b/pylint/checkers/variables.py @@ -694,9 +694,7 @@ def get_next_to_consume(self, node: nodes.Name) -> list[nodes.NodeNG] | None: return found_nodes @staticmethod - def _inferred_to_define_name_raise_or_return( - name: str, node: nodes.NodeNG - ) -> bool: + def _inferred_to_define_name_raise_or_return(name: str, node: nodes.NodeNG) -> bool: """Return True if there is a collectively exhaustive set of paths under this `if_node` that define `name`, raise, or return. """