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 29, 2024
1 parent 97ad40e commit 174882d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pylint/checkers/variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -2102,7 +2102,6 @@ def visit_assign(self, node: nodes.Assign) -> None:
except astroid.InferenceError:
return


# listcomp have now also their scope
def visit_listcomp(self, node: nodes.ListComp) -> None:
"""Visit listcomp: update consumption analysis variable."""
Expand Down Expand Up @@ -3347,7 +3346,6 @@ def visit_subscript(self, node: nodes.Subscript) -> None:

self._check_potential_index_error(node, inferred_slice)


def _check_potential_index_error(
self,
node: nodes.Subscript,
Expand Down

0 comments on commit 174882d

Please sign in to comment.