Skip to content

Commit 6170384

Browse files
committed
autofix from pre-commit
1 parent cfbbcea commit 6170384

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,3 @@ ci:
3131
autoupdate_commit_msg: "[pre-commit.ci] pre-commit autoupdate"
3232
autoupdate_schedule: weekly
3333
submodules: false
34-
show_diff_on_failure: true

trio/_core/_tests/test_multierror.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from pathlib import Path
1111
from traceback import extract_tb, print_exception
1212
from types import TracebackType
13-
from typing import Callable, List, NoReturn
13+
from typing import Callable, NoReturn
1414

1515
import pytest
1616

@@ -400,7 +400,7 @@ def simple_filter(exc: BaseException) -> Exception | RuntimeError:
400400
gc.garbage.clear()
401401

402402

403-
def assert_match_in_seq(pattern_list: List[str], string: str) -> None:
403+
def assert_match_in_seq(pattern_list: list[str], string: str) -> None:
404404
offset = 0
405405
print("looking for pattern matches...")
406406
for pattern in pattern_list:

0 commit comments

Comments
 (0)