-
Notifications
You must be signed in to change notification settings - Fork 18
/
.devcontainer.json
45 lines (45 loc) · 1.22 KB
/
.devcontainer.json
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
{
"image": "mcr.microsoft.com/devcontainers/python:3.12-bookworm",
"name": "bestway",
"appPort": ["9125:8123"],
"postCreateCommand": "scripts/setup",
"portsAttributes": {
"9125": {
"label": "Home Assistant",
"onAutoForward": "notify"
},
"5678": {
"label": "Debug",
"onAutoForward": "ignore"
}
},
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"github.vscode-github-actions",
"github.vscode-pull-request-github",
"ryanluker.vscode-coverage-gutters",
"ms-python.vscode-pylance",
"charliermarsh.ruff",
"bierner.github-markdown-preview"
],
"settings": {
"files.eol": "\n",
"editor.tabSize": 4,
"terminal.integrated.shell.linux": "/bin/bash",
"python.pythonPath": "/usr/bin/python3",
"python.analysis.autoSearchPaths": false,
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.formatOnPaste": false,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"files.trimTrailingWhitespace": true
}
}
},
"remoteUser": "vscode",
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {}
}
}