Be stricter with mypy compatibility in Django and DRF stubs

This commit is contained in:
Bruno Alla 2023-05-30 15:54:21 +01:00
parent 0e89b70e94
commit 8a70499412
No known key found for this signature in database

View File

@ -14,11 +14,11 @@ watchfiles==0.19.0 # https://github.com/samuelcolvin/watchfiles
# Testing
# ------------------------------------------------------------------------------
mypy==1.2.0 # https://github.com/python/mypy
django-stubs==4.2.0 # https://github.com/typeddjango/django-stubs
django-stubs[compatible-mypy]==4.2.0 # https://github.com/typeddjango/django-stubs
pytest==7.3.1 # https://github.com/pytest-dev/pytest
pytest-sugar==0.9.7 # https://github.com/Frozenball/pytest-sugar
{%- if cookiecutter.use_drf == "y" %}
djangorestframework-stubs==3.14.0 # https://github.com/typeddjango/djangorestframework-stubs
djangorestframework-stubs[compatible-mypy]==3.14.0 # https://github.com/typeddjango/djangorestframework-stubs
{%- endif %}
# Documentation