mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-03-06 12:25:59 +03:00
Remove mypy defaults and set django-stubs setting (#2359)
Remove mypy defaults and set django-stubs setting
This commit is contained in:
commit
cba14881fc
|
@ -9,13 +9,14 @@ exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules
|
|||
[mypy]
|
||||
python_version = 3.7
|
||||
check_untyped_defs = True
|
||||
ignore_errors = False
|
||||
ignore_missing_imports = True
|
||||
strict_optional = True
|
||||
warn_unused_ignores = True
|
||||
warn_redundant_casts = True
|
||||
warn_unused_configs = True
|
||||
|
||||
[mypy.plugins.django-stubs]
|
||||
django_settings_module = config.settings.test
|
||||
|
||||
[mypy-*.migrations.*]
|
||||
# Django migrations should not produce any errors:
|
||||
ignore_errors = True
|
||||
|
|
Loading…
Reference in New Issue
Block a user