Skip to content

Commit

Permalink
Configure mypy vscode plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoklosowski committed Jan 30, 2024
1 parent bfc7a85 commit a47ca56
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"editorconfig.editorconfig",
"tamasfe.even-better-toml",
"ms-python.autopep8",
"charliermarsh.ruff"
"charliermarsh.ruff",
"matangover.mypy"
]
}
}
Expand Down
6 changes: 5 additions & 1 deletion .vscode/settings.json.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"python.defaultInterpreterPath": "python",
"autopep8.importStrategy": "fromEnvironment",
"ruff.importStrategy": "fromEnvironment",
"python.linting.mypyEnabled": true,
"mypy.runUsingActiveInterpreter": true,
"mypy.targets": [
"qldebugger",
"tests"
],
"python.testing.pytestEnabled": true,
"python.testing.pytestArgs": [
"--no-cov",
Expand Down

0 comments on commit a47ca56

Please sign in to comment.