* - fix pytest setup that can be startet from the rootdir - support python venv environment - add pytest.ini - move common settings from .vscode/settings.json into pytest.ini - add missing requirements - fix import paths for pytests * - support python venv environment * initial version * - add missing requirements python-dotenv * fix import paths for pytests * fix pytest warnings * initial version * report 5 slowest test durations * add more vscode settings for python
29 lines
768 B
JSON
29 lines
768 B
JSON
{
|
|
"python.analysis.extraPaths": [
|
|
"app/src",
|
|
".venv/lib" ],
|
|
"python.testing.pytestArgs": [
|
|
"-v",
|
|
"--cov=app/src",
|
|
"--cov-report=xml",
|
|
"app",
|
|
"system_tests"
|
|
],
|
|
"python.testing.unittestEnabled": false,
|
|
"python.testing.pytestEnabled": true,
|
|
"flake8.args": [
|
|
"--extend-exclude=app/tests/*.py system_tests/*.py"
|
|
],
|
|
"sonarlint.connectedMode.project": {
|
|
"connectionId": "s-allius",
|
|
"projectKey": "s-allius_tsun-gen3-proxy"
|
|
},
|
|
"files.exclude": {
|
|
"**/*.pyi": true
|
|
},
|
|
"python.analysis.typeEvaluation.deprecateTypingAliases": true,
|
|
"python.autoComplete.extraPaths": [
|
|
".venv/lib"
|
|
],
|
|
"coverage-gutters.coverageBaseDir": "tsun"
|
|
} |