Skip to content

Commit

Permalink
update dev container
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveSkender committed Jan 1, 2025
1 parent 572cab0 commit 9f81b5d
Showing 1 changed file with 34 additions and 5 deletions.
39 changes: 34 additions & 5 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,35 @@
{
"tasks": {
"test": "pytest -vr A tests -m \"not locale_specific\"",
"build": "pip install -r requirements.txt && pip install -r requirements-test.txt"
}
}
"name": "Python 3",
"build": {
"dockerfile": "Dockerfile",
"context": "..",
"args": {
"VARIANT": "3.12"
}
},
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
},
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance"
],
"postCreateCommand": "pip install -r requirements-test.txt",
"remoteUser": "vscode",
"features": {
"ghcr.io/devcontainers/features/python:1": {
"version": "3.12"
}
},
"customizations": {
"vscode": {
"settings": {
"python.defaultInterpreterPath": "/usr/local/bin/python"
}
}
},
"tasks": {
"test": "pytest -vr A tests -m \"not locale_specific\"",
"build": "pip install -r requirements.txt && pip install -r requirements-test.txt"
}
}

0 comments on commit 9f81b5d

Please sign in to comment.