Skip to content

Commit 402fe35

Browse files
committed
Restore postCreateCommand to set up uv environment
1 parent 694c862 commit 402fe35

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@
4848
// Mount the parent as /workspaces so we can pip install peers as editable
4949
"workspaceMount": "source=${localWorkspaceFolder}/..,target=/workspaces,type=bind",
5050
// After the container is created, install the python project in editable form
51-
// "postCreateCommand": "pip install $([ -f dev-requirements.txt ] && echo '-c dev-requirements.txt') -e '.[dev]' && pre-commit install"
51+
"postCreateCommand": "uv sync --locked && uvx pre-commit install && SHELL=bash uv tool update-shell"
5252
}

0 commit comments

Comments
 (0)