Skip to content

Commit 693f694

Browse files
committed
chore: use just for python helpers
1 parent 98dcde7 commit 693f694

3 files changed

Lines changed: 11 additions & 3 deletions

File tree

‎.github/workflows/check_changelogs.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
2626

2727
- name: Check zarr-python changelog entries
28-
run: uv run --no-sync python ci/check_changelog_entries.py
28+
run: uvx --from rust-just just check-changelogs
2929

3030
- name: Check zarr-metadata changelog entries
31-
run: uv run --no-sync python ci/check_changelog_entries.py packages/zarr-metadata/changes
31+
run: uvx --from rust-just just check-changelogs packages/zarr-metadata/changes

‎.github/workflows/docs.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ jobs:
2929
# docs code block that fails to execute at build time fails CI) against the
3030
# locked docs env. check_unlinked_types runs in that same synced env.
3131
- run: uvx --from rust-just just docs-build
32-
- run: uv run --no-sync python ci/check_unlinked_types.py
32+
- run: uvx --from rust-just just check-doc-links
3333
continue-on-error: true

‎Justfile‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,3 +138,11 @@ lint *args:
138138
[doc("Check that uv.lock is in sync with pyproject.toml")]
139139
lock-check:
140140
uv lock --check
141+
142+
[doc("Check changelog entry filenames (pass a directory to check, default: changes/)")]
143+
check-changelogs *dir:
144+
uv run --no-sync python ci/check_changelog_entries.py {{dir}}
145+
146+
[doc("Report unlinked types in the built docs (run `just docs-build` first)")]
147+
check-doc-links *args:
148+
uv run --no-sync python ci/check_unlinked_types.py {{args}}

0 commit comments

Comments
 (0)