Skip to content

Commit 8d0f969

Browse files
authored
chore: cleanup devcontainer (#351)
1 parent 7d95902 commit 8d0f969

File tree

2 files changed

+6
-23
lines changed

2 files changed

+6
-23
lines changed

.devcontainer/devcontainer.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"vscode": {
1111
"settings": {},
1212
"extensions": [
13-
"HashiCorp.terraform"
13+
"HashiCorp.terraform",
14+
"Github.copilot"
1415
]
1516
},
1617
"codespaces": {}
@@ -21,4 +22,4 @@
2122
// If you want to use SSO please install xdg-utils in the container
2223
//"postCreateCommand": "bash ./.devcontainer/scripts/install-xdg.sh",
2324
"remoteUser": "vscode"
24-
}
25+
}

.devcontainer/withenvfile/devcontainer.json

+3-21
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,16 @@
44
// Features to add to the dev container. More info: https://containers.dev/features.
55
"features": {
66
"ghcr.io/devcontainers/features/terraform:1": {},
7-
"ghcr.io/devcontainers/features/github-cli:1": {},
8-
"ghcr.io/devcontainers/features/python:1": {},
9-
"ghcr.io/devcontainers/features/go:1": {}
7+
"ghcr.io/devcontainers/features/github-cli:1": {}
108
},
119
"customizations": {
1210
"vscode": {
1311
"extensions": [
14-
"ms-python.vscode-pylance",
15-
"ms-python.python",
16-
"charliermarsh.ruff",
1712
"Github.copilot",
1813
"HashiCorp.terraform"
1914
],
2015
// Set *default* container specific settings.json values on container create.
21-
"settings": {
22-
"python.defaultInterpreterPath": "/usr/local/bin/python",
23-
"python.linting.enabled": true,
24-
"python.testing.unittestEnabled": false,
25-
"python.testing.pytestEnabled": true,
26-
"[python]": {
27-
"editor.formatOnSave": true,
28-
"editor.codeActionsOnSave": {
29-
"source.fixAll": "always"
30-
}
31-
},
32-
"python.formatting.provider": "black"
33-
}
16+
"settings": {}
3417
},
3518
"codespaces": {}
3619
},
@@ -49,5 +32,4 @@
4932
".devcontainer/devcontainer.env"
5033
],
5134
"postStartCommand": "go install github.com/hashicorp/terraform-config-inspect@latest"
52-
53-
}
35+
}

0 commit comments

Comments
 (0)