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 Dec 23, 2022
1 parent f141216 commit 525da47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyupgrade/_plugins/type_bases_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def remove_all(the_list: list[str], item: str) -> list[str]:


def remove_line(
the_list: list[Token], sub_list: list[str], item: str, last_is_comma: bool
the_list: list[Token], sub_list: list[str], item: str, last_is_comma: bool,
) -> list[str]:
is_last = sub_list[-1] == item
idx = [x.src for x in the_list].index(item)
Expand Down

0 comments on commit 525da47

Please sign in to comment.