Skip to content

Commit b54fb7c

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

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

mypy/checkexpr.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,6 @@
194194
from mypy.typevars import fill_typevars
195195
from mypy.util import split_module_names
196196
from mypy.visitor import ExpressionVisitor
197-
from checker import TypeChecker
198197

199198
# Type of callback user for checking individual function arguments. See
200199
# check_args() below for details.

mypy/messages.py

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,17 @@
1616
import re
1717
from contextlib import contextmanager
1818
from textwrap import dedent
19-
from typing import Any, Callable, Collection, Final, Iterable, Iterator, Protocol, List, Sequence, cast
19+
from typing import (
20+
Any,
21+
Callable,
22+
Collection,
23+
Final,
24+
Iterable,
25+
Iterator,
26+
List,
27+
Sequence,
28+
cast,
29+
)
2030

2131
import mypy.typeops
2232
from mypy import errorcodes as codes, message_registry
@@ -110,7 +120,7 @@
110120
"typing.TypeVar",
111121
"typing.Union",
112122
"typing.cast",
113-
"typing.Protocol"
123+
"typing.Protocol",
114124
}
115125

116126

0 commit comments

Comments
 (0)