Skip to content

Commit

Permalink
Fix: do not use tuple[...] for old python compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
klieret committed Jul 22, 2024
1 parent 411368a commit ec2a51b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/commands/_split_string.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 38,7 @@ def from_line(cls, line: str):


def _update_previous_errors(
previous_errors: List[Flake8Error], replacement_window: tuple[int, int], replacement_n_lines: int
previous_errors: List[Flake8Error], replacement_window: Tuple[int, int], replacement_n_lines: int
) -> List[Flake8Error]:
"""Update the line numbers of the previous errors to what they would be after the edit window.
This is a helper function for `_filter_previous_errors`.
Expand Down

0 comments on commit ec2a51b

Please sign in to comment.