Skip to content

Commit

Permalink
Install Django and DRF stubs with compatible-mypy extra (as per off…
Browse files Browse the repository at this point in the history
…ical recommendation) (#4361)
  • Loading branch information
browniebroke authored Aug 14, 2023
1 parent cbacbb7 commit 4e9f9af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions {{cookiecutter.project_slug}}/requirements/local.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ watchfiles==0.19.0 # https://github.com/samuelcolvin/watchfiles
# Testing
# ------------------------------------------------------------------------------
mypy==1.4.1 # https://github.com/python/mypy
django-stubs==4.2.3 # https://github.com/typeddjango/django-stubs
django-stubs[compatible-mypy]==4.2.3 # https://github.com/typeddjango/django-stubs
pytest==7.4.0 # 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.2 # https://github.com/typeddjango/djangorestframework-stubs
djangorestframework-stubs[compatible-mypy]==3.14.2 # https://github.com/typeddjango/djangorestframework-stubs
{%- endif %}

# Documentation
Expand Down

0 comments on commit 4e9f9af

Please sign in to comment.