mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-09 05:24:53 +08:00
some cleanups
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[mypy]
|
||||
plugins =
|
||||
mypy_django_plugin.plugins.postgres_fields,
|
||||
mypy_django_plugin.plugins.related_fields
|
||||
mypy_django_plugin.plugins.related_fields
|
||||
|
||||
@@ -23,6 +23,4 @@ class User(models.Model):
|
||||
user = User()
|
||||
reveal_type(user.members) # E: Revealed type is 'builtins.list[builtins.int*]'
|
||||
reveal_type(user.members_as_text) # E: Revealed type is 'builtins.list[builtins.str*]'
|
||||
[out]
|
||||
|
||||
|
||||
[out]
|
||||
@@ -16,7 +16,7 @@ class DjangoTestSuite(DataSuite):
|
||||
files = [
|
||||
'check-model-fields.test',
|
||||
'check-postgres-fields.test',
|
||||
'check-model-relations.test'
|
||||
'check-model-relations.test',
|
||||
]
|
||||
data_prefix = str(TEST_DATA_DIR)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user