-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdevcontainer.json
More file actions
63 lines (61 loc) · 2.49 KB
/
devcontainer.json
File metadata and controls
63 lines (61 loc) · 2.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"dockerComposeFile": "docker-compose.yml",
"service": "devcontainer",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
"features": {
"ghcr.io/devcontainers/features/aws-cli:1": {
// view latest version https://raw.githubusercontent.com/aws/aws-cli/v2/CHANGELOG.rst
"version": "2.24.24"
},
"ghcr.io/devcontainers/features/python:1": {
// https://github.com/devcontainers/features/tree/main/src/python
"version": "3.12.7",
"installTools": false,
"optimize": true
}
},
"customizations": {
"vscode": {
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
// basic tooling
"eamodio.gitlens@15.5.1",
"ms-vscode.live-server@0.5.2024091601",
"MS-vsliveshare.vsliveshare@1.0.5905",
"github.copilot@1.304.1523",
"github.copilot-chat@0.27.2025042301",
// Python
"ms-python.python@2024.14.1",
"ms-python.vscode-pylance@2024.9.2",
"ms-vscode-remote.remote-containers@0.383.0",
"charliermarsh.ruff@2024.54.0",
// Misc file formats
"bierner.markdown-mermaid@1.28.0",
"samuelcolvin.jinjahtml@0.20.0",
"tamasfe.even-better-toml@0.19.2",
"emilast.LogFileHighlighter@3.3.3",
"esbenp.prettier-vscode@11.0.0"
],
"settings": {
"editor.accessibilitySupport": "off", // turn off sounds
"extensions.autoUpdate": false,
"extensions.autoCheckUpdates": false,
"[python]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "charliermarsh.ruff"
},
"ruff.nativeServer": "on",
// TODO: see if there's a way to specify different configurations for different folders
"ruff.configuration": "/workspaces/copier-python-package-template/ruff-test.toml", // use the test configuration since it's less restrictive and won't show false positives and underline things
"[jsonc][json][javascript][typescript][graphql][css][scss][html][vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
}
}
}
},
"initializeCommand": "sh .devcontainer/initialize-command.sh",
"onCreateCommand": "sh .devcontainer/on-create-command.sh",
"postStartCommand": "sh .devcontainer/post-start-command.sh"
// Devcontainer context hash (do not manually edit this, it's managed by a pre-commit hook): 5e3a0577 # spellchecker:disable-line
}