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