Skip to content

Commit

Permalink
feat(vscode): Set mypy as a default linter.
Browse files Browse the repository at this point in the history
using vscode:extension/matangover.mypy to lint the codes.
  • Loading branch information
DoyunShin committed Sep 21, 2023
1 parent f35ba53 commit cfb8bb8
Showing 1 changed file with 4 additions and 2 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",
}

1 comment on commit cfb8bb8

@DoyunShin
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to check that if the dmypy is installed in other directory, then we need to change mypy.dmypyExecutable option.
Or we can just install mypy in global pip install option when Dockerfile builds the ara-api container.

Please sign in to comment.