Repository navigation
Conversation
Set up the tooling for moving the validation logic into this repository: uv with a locked, exactly pinned dev environment on Python 3.14, the ruff configuration from hacs/integration, pytest, a CI workflow and uv updates through Dependabot. The entry point is a placeholder, and action.yml still runs the Docker image built by hacs/integration. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Uy8sjiJDFtdc39e6CDBUN4
Select all rules and ignore only those that conflict with the formatter or with other docstring rules, plus copyright headers. Tests may use plain assert statements for pytest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Uy8sjiJDFtdc39e6CDBUN4
There was a problem hiding this comment.
🟢 Approval recommended
The scaffold is narrowly scoped, leaves the existing action runtime unchanged, and has no identified blocking issues.
No open issues 🎉
What changed in this PR
Adds the Python foundation for moving HACS validation into this repository, without changing the existing Docker-based action.
Changes:
- Introduces a Python 3.14 uv project with pinned dependencies.
- Adds a placeholder entry point and smoke test.
- Configures linting, formatting, tests, and dependency updates.
| File | Description |
|---|---|
uv.lock |
Locks development dependencies. |
tests/test_main.py |
Tests successful placeholder execution. |
tests/__init__.py |
Initializes the test package. |
pyproject.toml |
Configures dependencies, pytest, and Ruff. |
hacs_action/__main__.py |
Adds the placeholder entry point. |
hacs_action/__init__.py |
Initializes the action package. |
.python-version |
Selects Python 3.14. |
.gitignore |
Excludes Python environment artifacts. |
.github/workflows/ci.yml |
Runs lint, formatting, and test checks. |
.github/dependabot.yml |
Enables uv dependency updates. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First step of moving the validation logic from hacs/integration into this repository as a standalone Python action.
action.ymlis unchanged and still runs the Docker image built by hacs/integration, so nothing changes for users.