Skip to content

Commit 7229960

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 668ce90 commit 7229960

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mypy/dmypy_util.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import json
99
from types import TracebackType
10-
from typing import Any, Final, Iterable, Iterator, List, TextIO, Type
10+
from typing import Any, Final, Iterable, Iterator, TextIO
1111

1212
from mypy.ipc import IPCBase
1313

@@ -54,7 +54,7 @@ def __enter__(self) -> TextIO:
5454

5555
def __exit__(
5656
self,
57-
t: Type[BaseException] | None,
57+
t: type[BaseException] | None,
5858
value: BaseException | None,
5959
traceback: TracebackType | None,
6060
) -> None:
@@ -87,7 +87,7 @@ def readable(self) -> bool:
8787
def readline(self, limit: int = 0) -> str:
8888
raise NotImplementedError
8989

90-
def readlines(self, hint: int = 0) -> List[str]:
90+
def readlines(self, hint: int = 0) -> list[str]:
9191
raise NotImplementedError
9292

9393
def seek(self, offset: int, whence: int = 0) -> int:

0 commit comments

Comments
 (0)