mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-14 07:47:09 +08:00
Updates deps, adds mypy@0.920 compat, adds dependabot
This commit is contained in:
@@ -214,7 +214,7 @@ class DjangoContext:
|
||||
field_name = field.name
|
||||
gfk_info = helpers.lookup_class_typeinfo(api, field.__class__)
|
||||
if gfk_info is None:
|
||||
gfk_set_type = AnyType(TypeOfAny.unannotated)
|
||||
gfk_set_type: MypyType = AnyType(TypeOfAny.unannotated)
|
||||
else:
|
||||
gfk_set_type = helpers.get_private_descriptor_type(
|
||||
gfk_info, "_pyi_private_set_type", is_nullable=True
|
||||
|
||||
Reference in New Issue
Block a user