pythonTest/python/.devcontainer/devcontainer.json

22 lines
572 B
JSON

{
"name": "Python 3.11 Dev Container",
"dockerFile": "Dockerfile",
"mounts": [
"source=${localWorkspaceFolder},target=/workspace,type=bind"
],
"settings": {
"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 && pip install pytest black",
"remoteUser": "vscode"
}