Skip to content

Commit d1980e7

Browse files
committed
chore(dev): add .python-version and requirements_dev.txt
.python-version pins the local interpreter to 3.13. requirements_dev.txt collects the lint/format/type/security/spell tooling plus prek; it pulls in requirements_test.txt but deliberately does not pin pillow/numpy (they conflict with the Home Assistant pin used by the test stack).
1 parent bbcef50 commit d1980e7

2 files changed

Lines changed: 21 additions & 0 deletions

File tree

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.13

requirements_dev.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Developer tooling for the Dreame Vacuum integration.
2+
#
3+
# Runtime dependencies live in custom_components/dreame_vacuum/manifest.json and
4+
# are installed by Home Assistant. Do NOT pin pillow/numpy here: their pins
5+
# conflict with the Home Assistant version pulled in by
6+
# pytest-homeassistant-custom-component. For local mypy, install the runtime
7+
# libraries separately:
8+
# pip install pillow numpy pybase64 requests pycryptodome python-miio mini-racer paho-mqtt
9+
-r requirements_test.txt
10+
11+
# Lint, format, type-check, security, spelling
12+
ruff
13+
mypy
14+
types-requests
15+
bandit[toml]
16+
codespell
17+
pip-audit
18+
19+
# Pre-commit hook runner (Rust drop-in for pre-commit)
20+
prek

0 commit comments

Comments
 (0)