pythonTest/python/.devcontainer/devcontainer.json

31 lines
923 B
JSON

{
"name": "Python 3.11 Dev Container",
"image": "dev-test-image:latest",
//"dockerFile": "Dockerfile",
"mounts": [
"source=${localWorkspaceFolder},target=/workspace,type=bind"
],
"remoteUser": "vscode",
"customizations": {
"vscode": {
"settings": {
// Testing: Pytest-Erkennung aktivieren
"python.testing.pytestEnabled": true,
"python.testing.pytestArgs": [
"."
],
"python.linting.enabled": true,
"python.linting.pylintEnabled": true,
"python.formatting.provider": "black"
},
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance"
]
}
},
"postCreateCommand": "pip install --upgrade pip"
}