Skip to content

Commit

Permalink
Merge pull request #587 from sillsdev/#586_poetry_devcontainer
Browse files Browse the repository at this point in the history
Automatically run poetry install and set python interpreter on devcontainer startup
  • Loading branch information
mshannon-sil authored Nov 12, 2024
2 parents 539b213 + 12ca229 commit 670fc66
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
"python.defaultInterpreterPath": "/workspaces/silnlp/.venv/bin/python",
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.codeActionsOnSave": {
Expand Down Expand Up @@ -63,7 +64,8 @@
"donjayamanne.githistory"
]
}
}
},
"postStartCommand": "poetry install"
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}

0 comments on commit 670fc66

Please sign in to comment.