mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-11 22:34:04 +02:00
* build: dev container
Add a VS Code Dev Container from the blueprint at bceaae212f
* build: dev container test setup
Add support for unit testing in the dev container environment with debugging and code coverage.
* ci: adjust to dev container test restructuring
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* ci: fix coverage collection
* build: add dummy light to HA config
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* build: update dev container to Python 3.11 (for HA 2023.6)
* Add VS Code tasks
* Use pre-commit hooks for linting
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Unpin HA version
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bas Nijholt <basnijholt@gmail.com>
10 lines
407 B
Text
10 lines
407 B
Text
colorlog==6.7.0
|
|
pip>=21.0,<23.2
|
|
ruff==0.0.265
|
|
pre-commit
|
|
|
|
# Install HA and test dependencies (pytest, coverage)
|
|
# To pin the dev container to a specific HA version, set this dependency
|
|
# to the adequate version (add `==<version>`) and rebuild the dev container.
|
|
# See https://github.com/MatthewFlamm/pytest-homeassistant-custom-component/releases for version mappings.
|
|
pytest-homeassistant-custom-component
|