Closed sobolevn closed 1 year ago
We have these two tests in django-stubs: https://github.com/typeddjango/django-stubs/blob/08a11d7f863aac88df0635550983033da4aff5ec/tests/typecheck/models/test_extra_methods.yml#L22-L66
django-stubs
The only different thing between them is: disallow_any_generics = true vs disallow_any_generics = false in mypy_config field.
disallow_any_generics = true
disallow_any_generics = false
mypy_config
I think we can parametrize mypy_config as well.
We have these two tests in
django-stubs
: https://github.com/typeddjango/django-stubs/blob/08a11d7f863aac88df0635550983033da4aff5ec/tests/typecheck/models/test_extra_methods.yml#L22-L66The only different thing between them is:
disallow_any_generics = true
vsdisallow_any_generics = false
inmypy_config
field.I think we can parametrize
mypy_config
as well.