From 51f1bef505c6e3f8fba81d25a591a0711f68e397 Mon Sep 17 00:00:00 2001 From: Luke Else Date: Tue, 14 Apr 2026 18:17:15 +0100 Subject: [PATCH] feat: Added python devcontainer --- devcontainer.json | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/devcontainer.json b/devcontainer.json index 3f81a81..9be1b13 100644 --- a/devcontainer.json +++ b/devcontainer.json @@ -1,18 +1,19 @@ { - "name": "Rust", + "name": "Python", "runArgs": [ "--network=host" ], - "image": "git.luke-else.co.uk/luke-else/rust-dev:latest", + "image": "git.luke-else.co.uk/luke-else/python-dev:latest", "remoteUser": "dev", "customizations": { "vscode": { "settings": { "editor.formatOnSave": true, - "[rust]": { - "editor.defaultFormatter": "rust-lang.rust-analyzer" + "[python]": { + "editor.defaultFormatter": "ms-python.black-formatter" }, - "rust-analyzer.cargo.runBuildScripts": true, + "python.defaultInterpreterPath": "/usr/local/bin/python", + "python.analysis.typeCheckingMode": "basic", "remote.autoForwardPorts": false, "terminal.integrated.profiles.linux": { "tmux-shell": { @@ -26,17 +27,16 @@ } }, "terminal.integrated.defaultProfile.linux": "tmux-shell" - }, - "extensions": [ - "ms-azuretools.vscode-docker", - "rust-lang.rust-analyzer", - "tamasfe.even-better-toml", - "vadimcn.vscode-lldb", - "dustypomerleau.rust-syntax", - "chrisbeard.rustdocstring", - "mermaidchart.vscode-mermaid-chart" - ] - } + } + }, + "extensions": [ + "ms-azuretools.vscode-docker", + "ms-python.python", + "ms-python.vscode-pylance", + "ms-python.black-formatter", + "charliermarsh.ruff", + "mermaidchart.vscode-mermaid-chart" + ] }, - "postCreateCommand": "cargo fetch" + "postCreateCommand": "uv sync" } \ No newline at end of file