2023-09-26 17:36:40 +00:00
|
|
|
{
|
|
|
|
"python.testing.pytestArgs": [
|
2023-09-26 18:00:30 +00:00
|
|
|
// Coverage is not supported by vscode:
|
|
|
|
// https://github.com/Microsoft/vscode-python/issues/693
|
|
|
|
// Note that this will make pytest fail if pytest-cov is not installed,
|
|
|
|
// if that's the case, then this option needs to be be removed (overrides
|
|
|
|
// can be set at a workspace level, it's up to you to decide what's the
|
|
|
|
// best approach). You might also prefer to only set this option
|
|
|
|
// per-workspace (wherever coverage is used).
|
|
|
|
"--no-cov",
|
2023-09-26 17:36:40 +00:00
|
|
|
"tests"
|
|
|
|
],
|
|
|
|
"python.testing.unittestEnabled": false,
|
2023-09-26 18:00:30 +00:00
|
|
|
"python.testing.pytestEnabled": true,
|
2023-10-09 12:01:34 +00:00
|
|
|
"search.exclude": {
|
|
|
|
"**/.direnv": true
|
|
|
|
},
|
2023-10-12 20:46:32 +00:00
|
|
|
"python.linting.mypyPath": "mypy",
|
|
|
|
"python.linting.mypyEnabled": true,
|
|
|
|
"python.linting.enabled": true,
|
|
|
|
"python.defaultInterpreterPath": "python"
|
2023-09-26 17:36:40 +00:00
|
|
|
}
|