Skip to content

Commit

Permalink
fix(pre-commit): add stable django stubs version (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
Auch-Auch authored Dec 20, 2023
1 parent 37ae5a1 commit 70f05cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repos:
hooks:
- id: mypy
additional_dependencies:
- "django-stubs"
- "django-stubs<=4.2.6" #see https://github.com/typeddjango/django-stubs/issues/1872
- "djangorestframework"
- "djangorestframework-stubs"
- "django-filter-stubs"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ graphviz = "^0.20.1"
mypy = "^1.7.1"
django-filter-stubs = "^0.1.3"
djangorestframework-stubs = "^3.14.4"
django-stubs = "^4.2.6"
django-stubs = "<=4.2.6"
pytest = "^7.4.3"
pytest-django = "^4.7.0"
pytest-asyncio = "^0.23.2"
Expand Down

0 comments on commit 70f05cd

Please # to comment.