We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86d91b6 commit a20eb06Copy full SHA for a20eb06
pylint/checkers/variables.py
@@ -304,9 +304,7 @@ def _assigned_locally(name_node: nodes.Name) -> bool:
304
305
306
def _is_before(node: nodes.NodeNG, reference_node: nodes.NodeNG) -> bool:
307
- """
308
- Returns True if node appears before reference_node, False otherwise.
309
+ """Returns True if node appears before reference_node, False otherwise."""
310
if node.lineno < reference_node.lineno:
311
return True
312
if (
0 commit comments