From a2bf45e0afefee412d130ce3be5b0032b520109a Mon Sep 17 00:00:00 2001 From: Bernhard Merkle Date: Wed, 25 Feb 2026 20:03:01 +0100 Subject: [PATCH 1/3] with this setting: - uv sync is run automatically - we can run python files via VSCode current file menu and do not have to switch to terminal/console --- .devcontainer/devcontainer.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 770a3ab..46feda3 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -12,7 +12,8 @@ "customizations": { "vscode": { "settings": { - "python.defaultInterpreterPath": "/usr/local/bin/python", + "python.defaultInterpreterPath": "./.venv/bin/python", + "python.terminal.activateEnvironment": true, "remote.autoForwardPorts": false, "python.createEnvironment.trigger": "off", "python.analysis.typeCheckingMode": "off" @@ -23,5 +24,6 @@ ] } }, + "postCreateCommand": "curl -LsSf https://astral.sh/uv/install.sh | sh && uv sync", "remoteUser": "vscode" } From 991e39d535593c8d5909f91cdbd2c9495e30c190 Mon Sep 17 00:00:00 2001 From: Bernhard Merkle Date: Wed, 25 Feb 2026 20:15:49 +0100 Subject: [PATCH 2/3] Update .devcontainer/devcontainer.json makes sense Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .devcontainer/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 46feda3..ded13c5 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -12,7 +12,7 @@ "customizations": { "vscode": { "settings": { - "python.defaultInterpreterPath": "./.venv/bin/python", + "python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python", "python.terminal.activateEnvironment": true, "remote.autoForwardPorts": false, "python.createEnvironment.trigger": "off", From 7fe6d61c6debf34fc784d50c23c86788ca3417f9 Mon Sep 17 00:00:00 2001 From: Bernhard Merkle Date: Wed, 25 Feb 2026 20:16:02 +0100 Subject: [PATCH 3/3] Update .devcontainer/devcontainer.json makes sense Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .devcontainer/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index ded13c5..ac6377c 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -24,6 +24,6 @@ ] } }, - "postCreateCommand": "curl -LsSf https://astral.sh/uv/install.sh | sh && uv sync", + "postCreateCommand": "uv sync", "remoteUser": "vscode" }