Skip to content

Removes unused import from test-data/unit/plugins #11243

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions test-data/unit/plugins/arg_kinds.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import sys
from typing import Optional, Callable

from mypy.nodes import Context
from mypy.plugin import Plugin, MethodContext, FunctionContext
from mypy.types import Type

Expand Down
5 changes: 1 addition & 4 deletions test-data/unit/plugins/decimal_to_int.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import builtins
from typing import Optional, Callable

from mypy.plugin import Plugin, AnalyzeTypeContext
from mypy.types import CallableType, Type
from mypy.plugin import Plugin


class MyPlugin(Plugin):
Expand Down
2 changes: 1 addition & 1 deletion test-data/unit/plugins/depshook.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Optional, Callable, List, Tuple
from typing import List, Tuple

from mypy.plugin import Plugin
from mypy.nodes import MypyFile
Expand Down
2 changes: 1 addition & 1 deletion test-data/unit/plugins/type_anal_hook.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from typing import Optional, Callable

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