From 792929d4c8f834516fdc75b97d65c2fd9a01e2a7 Mon Sep 17 00:00:00 2001 From: Christian Lechner <22294087+lechnerc77@users.noreply.github.com.> Date: Tue, 5 Nov 2024 15:59:38 +0100 Subject: [PATCH 1/2] chore: cleanup devcontainer --- .devcontainer/withenvfile/devcontainer.json | 22 ++------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/.devcontainer/withenvfile/devcontainer.json b/.devcontainer/withenvfile/devcontainer.json index 0da10629..403854b1 100644 --- a/.devcontainer/withenvfile/devcontainer.json +++ b/.devcontainer/withenvfile/devcontainer.json @@ -5,32 +5,15 @@ "features": { "ghcr.io/devcontainers/features/terraform:1": {}, "ghcr.io/devcontainers/features/github-cli:1": {}, - "ghcr.io/devcontainers/features/python:1": {}, - "ghcr.io/devcontainers/features/go:1": {} }, "customizations": { "vscode": { "extensions": [ - "ms-python.vscode-pylance", - "ms-python.python", - "charliermarsh.ruff", "Github.copilot", "HashiCorp.terraform" ], // Set *default* container specific settings.json values on container create. - "settings": { - "python.defaultInterpreterPath": "/usr/local/bin/python", - "python.linting.enabled": true, - "python.testing.unittestEnabled": false, - "python.testing.pytestEnabled": true, - "[python]": { - "editor.formatOnSave": true, - "editor.codeActionsOnSave": { - "source.fixAll": "always" - } - }, - "python.formatting.provider": "black" - } + "settings": {} }, "codespaces": {} }, @@ -49,5 +32,4 @@ ".devcontainer/devcontainer.env" ], "postStartCommand": "go install github.com/hashicorp/terraform-config-inspect@latest" - -} \ No newline at end of file +} From d256a1f780f7e0ada86215d3f7b8960d1aad7017 Mon Sep 17 00:00:00 2001 From: Christian Lechner <22294087+lechnerc77@users.noreply.github.com.> Date: Tue, 5 Nov 2024 16:01:06 +0100 Subject: [PATCH 2/2] formating --- .devcontainer/devcontainer.json | 5 +++-- .devcontainer/withenvfile/devcontainer.json | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 7f88154f..720a156d 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -10,7 +10,8 @@ "vscode": { "settings": {}, "extensions": [ - "HashiCorp.terraform" + "HashiCorp.terraform", + "Github.copilot" ] }, "codespaces": {} @@ -21,4 +22,4 @@ // If you want to use SSO please install xdg-utils in the container //"postCreateCommand": "bash ./.devcontainer/scripts/install-xdg.sh", "remoteUser": "vscode" -} \ No newline at end of file +} diff --git a/.devcontainer/withenvfile/devcontainer.json b/.devcontainer/withenvfile/devcontainer.json index 403854b1..fd3e4cd0 100644 --- a/.devcontainer/withenvfile/devcontainer.json +++ b/.devcontainer/withenvfile/devcontainer.json @@ -4,7 +4,7 @@ // Features to add to the dev container. More info: https://containers.dev/features. "features": { "ghcr.io/devcontainers/features/terraform:1": {}, - "ghcr.io/devcontainers/features/github-cli:1": {}, + "ghcr.io/devcontainers/features/github-cli:1": {} }, "customizations": { "vscode": {