Skip to content

Commit

Permalink
Configure mypy in VSCode
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterJCLaw committed Jul 9, 2020
1 parent f12fca8 commit 75eed31
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@

"python.linting.enabled": true,
"python.linting.flake8Enabled": true,
"python.linting.mypyEnabled": true,
"python.linting.mypyArgs": [
// Work around the defaults changing the import checking behaviour
"--show-column-numbers",
],
"python.linting.pylintEnabled": false,

"python.pythonPath": "${env:VIRTUAL_ENV}/bin/python3",
}

0 comments on commit 75eed31

Please sign in to comment.