Skip to content

Commit 183fdfb

Browse files
authored
add poetry install and update default python in devcontainer (#143)
1 parent 0fb9518 commit 183fdfb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.devcontainer/devcontainer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"vscode": {
3333
// Set *default* container specific settings.json values on container create.
3434
"settings": {
35-
"python.defaultInterpreterPath": "/usr/bin/python",
35+
"python.defaultInterpreterPath": "/workspaces/machine.py/.venv/bin/python",
3636
"[python]": {
3737
"editor.defaultFormatter": "ms-python.black-formatter",
3838
"editor.codeActionsOnSave": {
@@ -62,7 +62,8 @@
6262
"GitHub.copilot"
6363
]
6464
}
65-
}
65+
},
66+
"postStartCommand": "poetry install"
6667
// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
6768
// "remoteUser": "devcontainer"
6869
}

0 commit comments

Comments
 (0)