Add VSCode config

This commit is contained in:
2022-05-16 11:08:15 +12:00
parent 631241bafb
commit dd825d62ed
4 changed files with 32 additions and 6 deletions

16
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,16 @@
{
"configurations":[
{
"name": "Python: Debug Tests",
"request": "launch",
"program": "${file}",
"purpose": ["debug-test"],
"console": "integratedTerminal",
"env": {
"PYTEST_ADDOPTS": "--no-cov"
},
"type": "python",
"justMyCode": false
}
]
}

11
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,11 @@
{
"python.testing.pytestArgs": [
"-v",
"--cov=akauntingpy",
"--cov-report=xml",
"--pdb",
"tests/"
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
}