From cab818f9b06ed5f2407c889616e0bb8129c15af1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 22 Oct 2024 10:44:05 +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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pylint/checkers/variables.py b/pylint/checkers/variables.py index 862ef6679d..e09627a5ff 100644 --- a/pylint/checkers/variables.py +++ b/pylint/checkers/variables.py @@ -305,7 +305,8 @@ def _assigned_locally(name_node: nodes.Name) -> bool: def _is_before(node: nodes.NodeNG, reference_node: nodes.NodeNG) -> bool: """ - Returns True if node appears before reference_node in the source code, False otherwise. + Returns True if node appears before reference_node in the source code, False + otherwise. """ if node.lineno < reference_node.lineno: return True