pythonTest/python/.devcontainer/devcontainer.json

32 lines
983 B
JSON

{
"name": "Python 3.11 Dev Container",
"build": {
"dockerfile": "Dockerfile",
"context": "../02_python_interestingPoints"
},
"mounts": [
"source=${localWorkspaceFolder},target=/workspace,type=bind"
],
"remoteUser": "vscode",
"customizations": {
"vscode": {
"settings": {
"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"
],
"features": {
"ghcr.io/devcontainers/features/git:1": {}
}
}
},
"postCreateCommand": "pip install --upgrade pip"
}