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 Jan 19, 2024
1 parent 668ce90 commit 7229960
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mypy/dmypy_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import json
from types import TracebackType
from typing import Any, Final, Iterable, Iterator, List, TextIO, Type
from typing import Any, Final, Iterable, Iterator, TextIO

from mypy.ipc import IPCBase

Expand Down Expand Up @@ -54,7 +54,7 @@ def __enter__(self) -> TextIO:

def __exit__(
self,
t: Type[BaseException] | None,
t: type[BaseException] | None,
value: BaseException | None,
traceback: TracebackType | None,
) -> None:
Expand Down Expand Up @@ -87,7 +87,7 @@ def readable(self) -> bool:
def readline(self, limit: int = 0) -> str:
raise NotImplementedError

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

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

0 comments on commit 7229960

Please sign in to comment.