Skip to content

Commit b28caa3

Browse files
authored
Merge pull request #14 from bakerkj/bakerkj/precommit-hygiene
chore: migrate prettier hook and add setup-uv cache-suffix
2 parents c7fe07e + e140723 commit b28caa3

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/pre-commit.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
with:
1515
python-version: "3.14"
1616
enable-cache: true
17+
cache-suffix: pre-commit
1718
- uses: actions/cache@v5.0.5
1819
with:
1920
path: ~/.cache/pre-commit

.github/workflows/tests.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@ jobs:
1414
with:
1515
python-version: "3.14"
1616
enable-cache: true
17+
cache-suffix: tests
1718
- run: uv sync --group test
1819
- run: uv run python -m pytest tests/ -v

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ repos:
3636
- id: codespell
3737
args: ["--ignore-words-list", "hass,renderD,renderd"]
3838

39-
- repo: https://github.com/pre-commit/mirrors-prettier
40-
rev: v4.0.0-alpha.8
39+
- repo: https://github.com/rbubley/mirrors-prettier
40+
rev: v3.8.3
4141
hooks:
4242
- id: prettier
4343
types_or: [yaml, json, markdown]

0 commit comments

Comments
 (0)