mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-11-05 11:53:00 +08:00
lint fixes
This commit is contained in:
1 parent
5b2aacddba
commit
4dfa363521
14 files changed
+59
-49
No files matched your search
@@ -1,6 +1,8 @@
|
||||
from mypy.nodes import TypeInfo, MemberExpr
|
||||
from mypy.plugin import FunctionContext, AttributeContext
|
||||
from mypy.types import Type as MypyType, TypeType, Instance
|
||||
from mypy.nodes import MemberExpr, TypeInfo
|
||||
from mypy.plugin import AttributeContext, FunctionContext
|
||||
from mypy.types import Instance
|
||||
from mypy.types import Type as MypyType
|
||||
from mypy.types import TypeType
|
||||
|
||||
from mypy_django_plugin.django.context import DjangoContext
|
||||
from mypy_django_plugin.lib import helpers
|
||||
@@ -42,4 +44,3 @@ def get_type_of_settings_attribute(ctx: AttributeContext, django_context: Django
|
||||
return ctx.default_attr_type
|
||||
|
||||
return Instance(value_info, [])
|
||||
|
||||
Reference in new issue
Block a user