Skip to content

Commit 567de4d

Browse files
Update dev environment
1 parent f6c1f38 commit 567de4d

5 files changed

Lines changed: 1657 additions & 993 deletions

File tree

.devcontainer/integration/Dockerfile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1-
FROM ghcr.io/astral-sh/uv:trixie-slim
1+
FROM ghcr.io/astral-sh/uv:trixie
2+
3+
# Install required packages
4+
RUN apt-get update && apt-get install -y \
5+
gnupg \
6+
sudo \
7+
&& rm -rf /var/lib/apt/lists/*
28

39
# Create vscode user
410
RUN useradd -m -s /bin/bash vscode \
511
&& echo "vscode ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
612

7-
813
# Ensure workspace exists and is owned by vscode
914
RUN mkdir -p /workspace && chown -R vscode:vscode /workspace
1015

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.13.2
1+
3.14.2

.vscode/settings.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"source.organizeImports": "always"
1717
}
1818
},
19-
"ruff.nativeServer": "off",
20-
"ruff.importStrategy": "fromEnvironment",
21-
"ruff.configuration": "/workspaces/HA-Battery-Notes/pyproject.toml",
19+
"ruff.nativeServer": "on",
20+
"ruff.importStrategy": "useBundled",
21+
"ruff.configuration": "${workspaceFolder}/pyproject.toml",
2222
"python.terminal.activateEnvInCurrentTerminal": true,
2323
}

pyproject.toml

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ classifiers = [
1212
"Framework :: AsyncIO",
1313
"Intended Audience :: Developers",
1414
"Natural Language :: English",
15-
"Programming Language :: Python :: 3.13",
15+
"Programming Language :: Python :: 3.14",
1616
"Programming Language :: Python :: 3",
1717
]
18-
requires-python = "==3.13.2"
18+
requires-python = "==3.14.2"
1919
dependencies = [] # Use dev for all dependencies
2020

2121
[project.urls]
@@ -27,10 +27,34 @@ Changelog = "https://github.com/andrew-codechimp/HA-Battery-Notes/releases"
2727

2828
[dependency-groups]
2929
dev = [
30+
"aiodhcpwatcher",
31+
"aiodiscover",
32+
"aiodns",
33+
"aioesphomeapi",
34+
"aiousbwatcher",
35+
"async-upnp-client",
36+
"av",
37+
"bleak_esphome",
3038
"colorlog",
31-
"homeassistant==2025.12.0",
32-
"mypy",
33-
"pycares<5.0.0",
39+
"debugpy",
40+
"esphome_dashboard_api",
41+
"go2rtc_client",
42+
"ha-ffmpeg",
43+
"hassil",
44+
"home-assistant-intents",
45+
"homeassistant==2026.4.0",
46+
"infrared-protocols",
47+
"mutagen",
48+
"mypy==1.20.0",
49+
"pycares",
50+
"pygments",
51+
"pymicro-vad",
52+
"pyotp",
53+
"pyqrcode",
54+
"pyserial",
55+
"pyspeex-noise",
56+
"pytest-homeassistant-custom-component",
57+
"pyturbojpeg",
3458
"ruff",
3559
]
3660

@@ -149,6 +173,7 @@ voluptuous = "vol"
149173
# Specify the target platform details in config, so your developers are
150174
# free to run mypy on Windows, Linux, or macOS and get consistent
151175
# results.
176+
python_version = "3.14"
152177
platform = "linux"
153178

154179
# show error messages from unrelated files

0 commit comments

Comments
 (0)