Skip to content

Commit

Permalink
mypy support
Browse files Browse the repository at this point in the history
  • Loading branch information
Archmonger committed Sep 13, 2022
1 parent 41e8462 commit 117bfac
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{
"editor.detectIndentation": false,
"editor.formatOnSave": true,
"python.linting.enabled": true,
"python.linting.flake8Enabled": true,
"python.linting.pylintEnabled": true,
"python.linting.pylintArgs": [],
"python.linting.mypyEnabled": true,
"python.analysis.typeCheckingMode": "off",
"python.languageServer": "Pylance",
"python.formatting.provider": "black",
"python.sortImports.args": [
Expand Down Expand Up @@ -46,6 +49,5 @@
"[python]": {
"editor.defaultFormatter": "ms-python.python"
},
"html.format.endWithNewline": true,
"files.insertFinalNewline": true
}
1 change: 1 addition & 0 deletions py.typed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Marker file for PEP 561
1 change: 1 addition & 0 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ pylint
pylint_django
rope
twine
django-stubs[compatible-mypy]

0 comments on commit 117bfac

Please sign in to comment.