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 Apr 5, 2024
1 parent 84e3837 commit dbcfa1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mypy/checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -7571,7 +7571,7 @@ def _get_instance_path_from_current_to_proposed(
if pos1 < prefix:
proposed_args[pos2] = current.args[pos1]
elif pos1 == prefix:
proposed_args[pos2] = current.args[prefix:len(current.args) - suffix]
proposed_args[pos2] = current.args[prefix : len(current.args) - suffix]
else:
middle = len(current.args) - prefix - suffix
proposed_args[pos2] = current.args[pos1 + middle - 1]
Expand Down

0 comments on commit dbcfa1c

Please sign in to comment.