Skip to content

Commit

Permalink
Merge pull request #415 from sparcs-kaist/refactor/type-hint-django-s…
Browse files Browse the repository at this point in the history
…tubs

feat(mypy): add stubs to remove mypy linting errors
  • Loading branch information
DoyunShin authored Sep 22, 2023
2 parents bb39233 + feba307 commit 91f6589
Show file tree
Hide file tree
Showing 4 changed files with 478 additions and 223 deletions.
6 changes: 4 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{
"python.analysis.typeCheckingMode": "strict",
}
"mypy.enabled": true,
"mypy.configFile": "mypy.ini",
"mypy.dmypyExecutable": "/root/.local/share/virtualenvs/www-ZVUe9YDU/bin/dmypy",
}
6 changes: 6 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ pre-commit = "*"
ipython = "*"
pytest-cov = "*"
mypy = "*"
django-stubs = "~=4.2"
djangorestframework-stubs = "~=3.14"
typing-extensions = "*"
types-bleach = "*"
types-python-dateutil = "*"
types-tqdm = "*"

[requires]
python_version = "3.11"
Loading

0 comments on commit 91f6589

Please sign in to comment.