-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.devcontainer.json
More file actions
49 lines (49 loc) · 1.46 KB
/
.devcontainer.json
File metadata and controls
49 lines (49 loc) · 1.46 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
{
"name": "alengwenus/ha-sma-ev-charger",
"image": "mcr.microsoft.com/devcontainers/base:debian",
"postCreateCommand": "scripts/setup",
"postStartCommand": "uv sync --all-groups",
"forwardPorts": [
8123
],
"portsAttributes": {
"8123": {
"label": "Home Assistant",
"onAutoForward": "notify"
}
},
"customizations": {
"vscode": {
"extensions": [
"charliermarsh.ruff",
"github.vscode-pull-request-github",
"ms-python.python",
"ms-python.vscode-pylance",
"ryanluker.vscode-coverage-gutters"
],
"settings": {
"files.eol": "\n",
"editor.tabSize": 4,
"editor.formatOnSave": true,
"files.trimTrailingWhitespace": true,
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python",
"python.testing.pytestEnabled": true,
"python.testing.pytestArgs": [
"--cov=custom_components",
"--cov-report=xml",
"tests"
]
}
}
},
"features": {
"ghcr.io/devcontainers-extra/features/apt-packages:1": {
"packages": [
"ffmpeg",
"libturbojpeg0",
"libpcap-dev"
]
}
},
"remoteUser": "vscode"
}