Skip to content

Commit

Permalink
Update devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
tschm committed Feb 5, 2025
1 parent b2ee593 commit c6ff840
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "Python 3",
"image": "mcr.microsoft.com/devcontainers/python:1-3.9-bookworm",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/python:3.13-bookworm",
"onCreateCommand": ".devcontainer/startup.sh",
"customizations": {
"vscode": {
Expand Down
6 changes: 2 additions & 4 deletions .devcontainer/startup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/bin/bash
pipx install poetry
poetry config virtualenvs.in-project true
poetry install
poetry run pre-commit install
curl -LsSf https://astral.sh/uv/install.sh | sh
uv sync -vv --frozen

0 comments on commit c6ff840

Please sign in to comment.