mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-09 05:24:53 +08:00
enable two more test folders
This commit is contained in:
@@ -5,6 +5,7 @@ check_untyped_defs = True
|
||||
warn_no_return = False
|
||||
show_traceback = True
|
||||
warn_redundant_casts = True
|
||||
allow_redefinition = True
|
||||
|
||||
plugins =
|
||||
mypy_django_plugin.main
|
||||
|
||||
@@ -194,6 +194,7 @@ IGNORED_ERRORS = {
|
||||
+ 'expected "Optional[Sequence[Union[Type[Model], str]]]"',
|
||||
'Argument 1 to "RunPython" has incompatible type "str"; expected "Callable[..., Any]"',
|
||||
'FakeLoader',
|
||||
'Argument 1 to "append" of "list" has incompatible type "AddIndex"; expected "CreateModel"'
|
||||
],
|
||||
'queryset_pickle': [
|
||||
'"None" has no attribute "somefield"'
|
||||
@@ -412,10 +413,8 @@ TESTS_DIRS = [
|
||||
# TODO: 'middleware_exceptions',
|
||||
'migrate_signals',
|
||||
'migration_test_data_persistence',
|
||||
# wait for redefinitions
|
||||
# TODO: 'migrations',
|
||||
'migrations',
|
||||
'migrations2',
|
||||
# waits for allow redefinitions
|
||||
# TODO: 'model_fields',
|
||||
# TODO: 'model_forms',
|
||||
'model_formsets',
|
||||
@@ -493,8 +492,7 @@ TESTS_DIRS = [
|
||||
'transactions',
|
||||
'unmanaged_models',
|
||||
|
||||
# wait for "allow redefinitions" here
|
||||
# TODO: 'update',
|
||||
'update',
|
||||
|
||||
'update_only_fields',
|
||||
'urlpatterns',
|
||||
|
||||
Reference in New Issue
Block a user