Repository navigation
Sync repository tooling with the current library template - #1551
Merged
Merged
Conversation
Bring python-radios in line with python-solaredged, so the libraries share the same setup again. - Move to a PEP 621 [project] table on Poetry 2. - Replace mypy with ty, pre-commit with prek, and aresponses with aioresponses. - Drop Python 3.11, add Python 3.15 to the test matrix. - Update all workflows: concurrency, job timeouts, pinned action updates, CodeQL matrix, enforced coverage gate, SBOM and attestations on release. - Add Scorecard, dependency review and zizmor; drop SonarCloud, safety and the stale workflow. - Fix the prettier hook, which never ran: `types` is an AND filter, it needs `types_or`. - Fix .editorconfig, which used `ident_size` and was ignored entirely. - Refresh CONTRIBUTING, the PR and issue templates, add a security policy, an AI policy and AGENTS.md.
The runners have no stable 3.15 build yet, so setup-python fails to find it. Same setup as python-solaredged: once 3.15 ships, this resolves to the stable build.
4 of 11 tasks
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.
Proposed Changes
This brings python-radios in line with python-solaredged, so my libraries share the same setup again. No functional changes to the client itself.
Breaking: the minimum supported Python version is now 3.12. Python 3.15 is added to the test matrix.
Tooling:
[project]table on Poetry 2.safety(dependency review covers it).--strict-markers,--strict-configandxfail_strict.CI:
Fixes found along the way:
types: [yaml, json, markdown]is an AND filter, so no file ever matched. It is nowtypes_or..editorconfigusedident_sizeeverywhere, so editors ignored the whole file.Documentation:
AGENTS.md(withCLAUDE.mdas a symlink).Related Issues
None.