Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 22, 2024
1 parent 86d91b6 commit a20eb06
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pylint/checkers/variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,9 +304,7 @@ 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, False otherwise.
"""
"""Returns True if node appears before reference_node, False otherwise."""
if node.lineno < reference_node.lineno:
return True
if (
Expand Down

0 comments on commit a20eb06

Please sign in to comment.