Skip to content

Commit 4927396

Browse files
authored
Removes unused import from test-data/unit/plugins (#11243)
1 parent e80da8c commit 4927396

File tree

4 files changed

+3
-9
lines changed

4 files changed

+3
-9
lines changed

test-data/unit/plugins/arg_kinds.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
import sys
21
from typing import Optional, Callable
3-
4-
from mypy.nodes import Context
52
from mypy.plugin import Plugin, MethodContext, FunctionContext
63
from mypy.types import Type
74

test-data/unit/plugins/decimal_to_int.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
import builtins
2-
from typing import Optional, Callable
31

4-
from mypy.plugin import Plugin, AnalyzeTypeContext
5-
from mypy.types import CallableType, Type
2+
from mypy.plugin import Plugin
63

74

85
class MyPlugin(Plugin):

test-data/unit/plugins/depshook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Optional, Callable, List, Tuple
1+
from typing import List, Tuple
22

33
from mypy.plugin import Plugin
44
from mypy.nodes import MypyFile

test-data/unit/plugins/type_anal_hook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from typing import Optional, Callable
22

33
from mypy.plugin import Plugin, AnalyzeTypeContext
4-
from mypy.types import Type, UnboundType, TypeList, AnyType, CallableType, TypeOfAny
4+
from mypy.types import Type, TypeList, AnyType, CallableType, TypeOfAny
55
# The official name changed to NoneType but we have an alias for plugin compat reasons
66
# so we'll keep testing that here.
77
from mypy.types import NoneTyp

0 commit comments

Comments
 (0)