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 Mar 4, 2022
1 parent 7076fe0 commit 43dce52
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pylint/checkers/refactoring/refactoring_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -1980,10 +1980,7 @@ def _check_unnecessary_list_index_lookup(
):
return

if (
not isinstance(node.target, nodes.Tuple)
or len(node.target.elts) < 2
):
if not isinstance(node.target, nodes.Tuple) or len(node.target.elts) < 2:
# enumerate() result is being assigned without destructuring
return

Expand Down

0 comments on commit 43dce52

Please sign in to comment.