From 1c2fe8a50cecfc9d83ae6f6cb072bbd2e4bc965a Mon Sep 17 00:00:00 2001 From: Simon Lamon <32477463+silamon@users.noreply.github.com> Date: Tue, 7 Jan 2025 19:26:50 +0100 Subject: [PATCH] Don't override python in devcontainer (#31) --- .devcontainer/devcontainer.json | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index e9606ba..0bd0583 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -8,8 +8,7 @@ "ghcr.io/devcontainers-extra/features/poetry:2": {}, "ghcr.io/devcontainers-extra/features/ruff:1": {}, "ghcr.io/devcontainers/features/git:1": {}, - "ghcr.io/devcontainers/features/github-cli:1": {}, - "ghcr.io/devcontainers/features/python:1": {} + "ghcr.io/devcontainers/features/github-cli:1": {} }, // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], @@ -20,23 +19,23 @@ "vscode": { "extensions": [ "charliermarsh.ruff", - "github.vscode-pull-request-github", + "github.vscode-pull-request-github", "ms-python.python" ], - "settings": { - "files.eol": "\n", - "editor.tabSize": 4, - "editor.formatOnPaste": true, - "editor.formatOnSave": true, - "editor.formatOnType": false, - "files.trimTrailingWhitespace": true, - "python.analysis.typeCheckingMode": "basic", - "python.analysis.autoImportCompletions": true, - "[python]": { - "editor.defaultFormatter": "charliermarsh.ruff" - } - } + "settings": { + "files.eol": "\n", + "editor.tabSize": 4, + "editor.formatOnPaste": true, + "editor.formatOnSave": true, + "editor.formatOnType": false, + "files.trimTrailingWhitespace": true, + "python.analysis.typeCheckingMode": "basic", + "python.analysis.autoImportCompletions": true, + "[python]": { + "editor.defaultFormatter": "charliermarsh.ruff" + } + } } }, - "remoteUser": "vscode" + "remoteUser": "vscode" } \ No newline at end of file