Commit 229145a
ci: add HACS token and move ruff to py314 (inferred)
- Pass github_token to the HACS validation action so the daily scheduled run
makes authenticated GitHub API calls, avoiding the 60/hr unauthenticated
rate limit.
- Drop the explicit [tool.ruff] target-version; ruff derives the target from
requires-python (>=3.14.2 -> py314), so it cannot drift out of sync.
ruff-format applies PEP 758 (parens-free multi-except) in __init__.py and
const.py.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 84fd1b5 commit 229145a
4 files changed
Lines changed: 3 additions & 5 deletions
File tree
- .github/workflows
- custom_components/cpu_capacity
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | 22 | | |
26 | 23 | | |
0 commit comments