mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-04 04:25:50 +08:00
[channels] Relax django-stubs dependency (#15524)
This commit is contained in:
committed by
GitHub
parent
50ec9108eb
commit
8193aa109c
@@ -4,6 +4,7 @@ channels.auth.UserLazyObject
|
||||
# these one need to be exclude due to mypy error: * is not present at runtime
|
||||
channels.auth.UserLazyObject.DoesNotExist
|
||||
channels.auth.UserLazyObject.MultipleObjectsReturned
|
||||
channels.auth.UserLazyObject.NotUpdated
|
||||
channels.auth.UserLazyObject@AnnotatedWith
|
||||
|
||||
# database_sync_to_async is implemented as a class instance but stubbed as a function
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
version = "4.3.*"
|
||||
upstream_repository = "https://github.com/django/channels"
|
||||
requires = ["django-stubs>=4.2,<5.3", "asgiref"]
|
||||
requires = ["django-stubs>=4.2", "asgiref"]
|
||||
|
||||
[tool.stubtest]
|
||||
mypy_plugins = ['mypy_django_plugin.main']
|
||||
|
||||
Reference in New Issue
Block a user