mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-10-18 20:11:29 +08:00
remove 'need type annotation for setting' error message
This commit is contained in:
1 parent
d9a9e5208e
commit
94ddb8c864
2 files changed
+10
-11
No files matched your search
@@ -40,8 +40,6 @@ reveal_type(settings.REGISTRY) # E: Revealed type is 'Union[main.Class, None]'
|
||||
reveal_type(settings.LIST) # E: Revealed type is 'Any'
|
||||
reveal_type(settings.BASE_LIST) # E: Revealed type is 'Any'
|
||||
[out]
|
||||
mysettings:4: error: Need type annotation for 'LIST'
|
||||
base:6: error: Need type annotation for 'BASE_LIST'
|
||||
|
||||
[env DJANGO_SETTINGS_MODULE=mysettings]
|
||||
[file mysettings.py]
|
||||
|
||||
Reference in new issue
Block a user