-
Notifications
You must be signed in to change notification settings - Fork 636
Expand file tree
/
Copy path.devcontainer.json
More file actions
52 lines (52 loc) · 1.5 KB
/
.devcontainer.json
File metadata and controls
52 lines (52 loc) · 1.5 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
{
"name": "home-assistant/intents",
"image": "mcr.microsoft.com/devcontainers/python:3.13",
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {}
},
"containerEnv": {
"DEVCONTAINER": "1"
},
"containerUser": "vscode",
"updateRemoteUserUID": true,
"customizations": {
"vscode": {
"extensions": [
"charliermarsh.ruff",
"ms-python.python",
"ms-python.vscode-pylance",
"redhat.vscode-yaml",
"esbenp.prettier-vscode",
"GitHub.copilot"
],
"settings": {
"python.languageServer": "Pylance",
"python.linting.enabled": true,
"python.linting.pylintEnabled": true,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"files.trimTrailingWhitespace": true,
"terminal.integrated.profiles.linux": {
"zsh": {
"path": "/usr/bin/zsh"
}
},
"terminal.integrated.defaultProfile.linux": "zsh",
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
}
},
"postCreateCommand": "git config --global --add safe.directory ${containerWorkspaceFolder} && script/setup && website/script/setup",
"remoteUser": "vscode"
}