Skip to content

Commit 09729d1

Browse files
committed
Update devcontainer, deps
1 parent 40695fc commit 09729d1

File tree

13 files changed

+106
-103
lines changed

13 files changed

+106
-103
lines changed

.devcontainer.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"name": "ludeeus/integration_blueprint",
3+
"image": "mcr.microsoft.com/devcontainers/python:3.12-bullseye",
4+
"postCreateCommand": "scripts/setup",
5+
"forwardPorts": [
6+
8123
7+
],
8+
"portsAttributes": {
9+
"8123": {
10+
"label": "Home Assistant",
11+
"onAutoForward": "notify"
12+
}
13+
},
14+
"customizations": {
15+
"vscode": {
16+
"extensions": [
17+
"ms-python.python",
18+
"github.vscode-pull-request-github",
19+
"ryanluker.vscode-coverage-gutters",
20+
"ms-python.vscode-pylance"
21+
],
22+
"settings": {
23+
"files.eol": "\n",
24+
"editor.tabSize": 4,
25+
"python.pythonPath": "/usr/bin/python3",
26+
"python.analysis.autoSearchPaths": false,
27+
"python.linting.pylintEnabled": true,
28+
"python.linting.enabled": true,
29+
"python.formatting.provider": "black",
30+
"python.formatting.blackPath": "/usr/local/py-utils/bin/black",
31+
"editor.formatOnPaste": false,
32+
"editor.formatOnSave": true,
33+
"editor.formatOnType": true,
34+
"files.trimTrailingWhitespace": true,
35+
"terminal.integrated.shell.linux": "bash"
36+
}
37+
}
38+
},
39+
"remoteUser": "vscode",
40+
"features": {
41+
"ghcr.io/devcontainers/features/rust:1": {}
42+
}
43+
}

.devcontainer/README.md

Lines changed: 0 additions & 60 deletions
This file was deleted.

.devcontainer/devcontainer.json

Lines changed: 0 additions & 31 deletions
This file was deleted.

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* text=auto eol=lf
1+
* text=auto eol=lf

.gitignore

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
1+
# artifacts
12
__pycache__
2-
pythonenv*
3-
venv
4-
.venv
3+
.pytest*
4+
*.egg-info
5+
*/build/*
6+
*/dist/*
7+
8+
9+
# misc
510
.coverage
6-
.idea/
11+
.vscode
12+
coverage.xml
13+
.idea
14+
15+
16+
# Home Assistant configuration
17+
config/*
18+
config/home-assistant.log
19+
config/home-assistant_v2.db-shm
20+
config/home-assistant_v2.db-wal
21+
!config/configuration.yaml

.vscode/tasks.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@
2424
"type": "shell",
2525
"command": "container set-version",
2626
"problemMatcher": []
27+
},
28+
{
29+
"label": "Run Home Assistant on port 8123",
30+
"type": "shell",
31+
"command": "scripts/develop",
32+
"problemMatcher": []
2733
}
2834
]
2935
}
File renamed without changes.

custom_components/dahua/translations/fr.json

100644100755
File mode changed.

requirements.txt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
1-
homeassistant~=2024.1.0
2-
ha-ffmpeg==3.0.2
3-
voluptuous~=0.12.1
4-
aiohttp~=3.7.4.post0
5-
yarl~=1.6.3
6-
requests~=2.25.1
1+
homeassistant~=2024.6.0
2+
ha-ffmpeg==3.2.0

requirements_test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pytest-homeassistant-custom-component==0.3.0
1+
pytest-homeassistant-custom-component==0.13.133

0 commit comments

Comments
 (0)