This commit is contained in:
Maxim Kurnikov
2019-07-24 22:56:14 +03:00
parent 64049b60b0
commit ae8e42dd53
3 changed files with 17 additions and 11 deletions

View File

@@ -1,11 +1,13 @@
from typing import Optional, Tuple, cast
from django.db.models.fields import Field
from django.db.models.fields.related import RelatedField
from mypy.nodes import AssignmentStmt, TypeInfo
from mypy.plugin import FunctionContext
from mypy.types import AnyType, Instance, Type as MypyType, TypeOfAny
from mypy.types import AnyType, Instance
from mypy.types import Type as MypyType
from mypy.types import TypeOfAny
from django.db.models.fields import Field
from mypy_django_plugin.django.context import DjangoContext
from mypy_django_plugin.lib import fullnames, helpers