Skip to content

Commit 20f82f1

Browse files
pre-commit-ci[bot]d-v-bclaude
authored
chore: update pre-commit hooks (#4231)
* chore: update pre-commit hooks updates: - [github.com/astral-sh/ruff-pre-commit: v0.16.0 → v0.16.6](astral-sh/ruff-pre-commit@v0.16.0...v0.16.6) - [github.com/codespell-project/codespell: v2.4.2 → v2.4.3](codespell-project/codespell@v2.4.2...v2.4.3) - [github.com/DavidAnson/markdownlint-cli2: v0.22.1 → v0.23.2](DavidAnson/markdownlint-cli2@v0.22.1...v0.23.2) - [github.com/scientific-python/cookie: 2026.06.18 → 2026.08.14](scientific-python/cookie@2026.06.18...2026.08.14) - [github.com/zizmorcore/zizmor-pre-commit: v1.26.1 → v1.30.0](zizmorcore/zizmor-pre-commit@v1.26.1...v1.30.0) - [github.com/twisted/towncrier: 25.8.0 → 26.9.0](twisted/towncrier@25.8.0...26.9.0) * style: reformat a README example for ruff 0.16.6 ruff-format v0.16.6 formats Python code blocks in Markdown, and normalizes this inline comment to PEP 8's two spaces. Fallout from the hook bump in this pull request, not a behavior change. Assisted-by: ClaudeCode:claude-opus-5 Co-Authored-By: Claude Opus 5 <[email protected]> * ci: pin just-version in setup-just steps zizmor v1.30.0 adds the `unpinned-tools` audit, which flags all twelve `extractions/setup-just` steps across the three package workflows: pinning the action by SHA still leaves the action free to install whatever just is newest at run time, so a just release can change CI without a commit here. Pinned to 1.58.0, which is what the action resolves to today, so this changes nothing about the current builds while making that choice explicit. Assisted-by: ClaudeCode:claude-opus-5 Co-Authored-By: Claude Opus 5 <[email protected]> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Davis Bennett <[email protected]> Co-authored-by: Claude Opus 5 <[email protected]>
1 parent f2ab3d5 commit 20f82f1

5 files changed

Lines changed: 55 additions & 7 deletions

File tree

‎.github/workflows/zarr-http-server.yml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ jobs:
5454
run: uv python install ${{ matrix.python-version }}
5555
- name: Install just
5656
uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4
57+
with:
58+
# Pin the tool, not just the action: without this the action
59+
# installs whatever just is newest at run time.
60+
just-version: 1.58.0
5761
- name: Sync test dependency groups
5862
# The examples group carries the deps the README examples need, so the
5963
# test that reads a served array back with a zarr client runs here
@@ -77,6 +81,10 @@ jobs:
7781
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
7882
- name: Install just
7983
uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4
84+
with:
85+
# Pin the tool, not just the action: without this the action
86+
# installs whatever just is newest at run time.
87+
just-version: 1.58.0
8088
- name: Run ruff
8189
run: just lint
8290

@@ -99,6 +107,10 @@ jobs:
99107
run: uv python install 3.12
100108
- name: Install just
101109
uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4
110+
with:
111+
# Pin the tool, not just the action: without this the action
112+
# installs whatever just is newest at run time.
113+
just-version: 1.58.0
102114
- name: Sync test dependency group
103115
run: uv sync --group test --python 3.12
104116
- name: Run mypy
@@ -121,6 +133,10 @@ jobs:
121133
enable-cache: true
122134
- name: Install just
123135
uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4
136+
with:
137+
# Pin the tool, not just the action: without this the action
138+
# installs whatever just is newest at run time.
139+
just-version: 1.58.0
124140
- name: Build docs
125141
run: just docs-check
126142

‎.github/workflows/zarr-indexing.yml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ jobs:
4141
enable-cache: true
4242
- name: Install just
4343
uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4
44+
with:
45+
# Pin the tool, not just the action: without this the action
46+
# installs whatever just is newest at run time.
47+
just-version: 1.58.0
4448
- name: Set up Python ${{ matrix.python-version }}
4549
run: uv python install ${{ matrix.python-version }}
4650
# The suite imports nothing from `zarr`; it runs against the repo-root
@@ -70,6 +74,10 @@ jobs:
7074
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
7175
- name: Install just
7276
uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4
77+
with:
78+
# Pin the tool, not just the action: without this the action
79+
# installs whatever just is newest at run time.
80+
just-version: 1.58.0
7381
- name: Run ruff
7482
# The ruff version pin lives in packages/zarr-indexing/justfile.
7583
run: just lint
@@ -95,6 +103,10 @@ jobs:
95103
run: uv sync --group test --python 3.12
96104
- name: Install just
97105
uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4
106+
with:
107+
# Pin the tool, not just the action: without this the action
108+
# installs whatever just is newest at run time.
109+
just-version: 1.58.0
98110
- name: Run pyright
99111
# The pyright invocation lives in packages/zarr-indexing/justfile.
100112
run: just typecheck
@@ -116,6 +128,10 @@ jobs:
116128
enable-cache: true
117129
- name: Install just
118130
uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4
131+
with:
132+
# Pin the tool, not just the action: without this the action
133+
# installs whatever just is newest at run time.
134+
just-version: 1.58.0
119135
- name: Build docs
120136
# The strict mkdocs build lives in packages/zarr-indexing/justfile.
121137
run: just docs-check

‎.github/workflows/zarr-metadata.yml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ jobs:
4444
enable-cache: true
4545
- name: Install just
4646
uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4
47+
with:
48+
# Pin the tool, not just the action: without this the action
49+
# installs whatever just is newest at run time.
50+
just-version: 1.58.0
4751
- name: Set up Python ${{ matrix.python-version }}
4852
run: uv python install ${{ matrix.python-version }}
4953
- name: Sync test dependency group
@@ -66,6 +70,10 @@ jobs:
6670
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
6771
- name: Install just
6872
uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4
73+
with:
74+
# Pin the tool, not just the action: without this the action
75+
# installs whatever just is newest at run time.
76+
just-version: 1.58.0
6977
- name: Run ruff
7078
run: just lint
7179

@@ -86,6 +94,10 @@ jobs:
8694
enable-cache: true
8795
- name: Install just
8896
uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4
97+
with:
98+
# Pin the tool, not just the action: without this the action
99+
# installs whatever just is newest at run time.
100+
just-version: 1.58.0
89101
- name: Run pyright
90102
# The pyright version and interpreter pins live in the justfile.
91103
run: just typecheck
@@ -107,6 +119,10 @@ jobs:
107119
enable-cache: true
108120
- name: Install just
109121
uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4
122+
with:
123+
# Pin the tool, not just the action: without this the action
124+
# installs whatever just is newest at run time.
125+
just-version: 1.58.0
110126
- name: Build docs
111127
run: just docs-check
112128

‎.pre-commit-config.yaml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ default_language_version:
1717

1818
repos:
1919
- repo: https://github.com/astral-sh/ruff-pre-commit
20-
rev: v0.16.0
20+
rev: v0.16.6
2121
hooks:
2222
- id: ruff-check
2323
args: ["--fix", "--show-fixes"]
2424
- id: ruff-format
2525
- repo: https://github.com/codespell-project/codespell
26-
rev: v2.4.2
26+
rev: v2.4.3
2727
hooks:
2828
- id: codespell
2929
args: ["-L", "fo,ihs,kake,te", "-S", "fixture"]
@@ -34,7 +34,7 @@ repos:
3434
exclude: mkdocs.yml
3535
- id: trailing-whitespace
3636
- repo: https://github.com/DavidAnson/markdownlint-cli2
37-
rev: v0.22.1
37+
rev: v0.23.2
3838
hooks:
3939
# Markdown structure/hygiene. Rule selection and ignores are in
4040
# .markdownlint-cli2.jsonc; complements ci/lint_docs.py (RST residue,
@@ -72,7 +72,7 @@ repos:
7272
files: ^packages/zarr-http-server/
7373
stages: [pre-push]
7474
- repo: https://github.com/scientific-python/cookie
75-
rev: 2026.06.18
75+
rev: 2026.08.14
7676
hooks:
7777
- id: sp-repo-review
7878
- repo: https://github.com/numpy/numpydoc
@@ -89,10 +89,10 @@ repos:
8989
types: [python]
9090
files: ^(src|tests)/
9191
- repo: https://github.com/zizmorcore/zizmor-pre-commit
92-
rev: v1.26.1
92+
rev: v1.30.0
9393
hooks:
9494
- id: zizmor
9595
- repo: https://github.com/twisted/towncrier
96-
rev: 25.8.0
96+
rev: 26.9.0
9797
hooks:
9898
- id: towncrier-check

‎packages/zarr-http-server/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ store = zarr.storage.MemoryStore()
3030
array = zarr.create_array(store, shape=(100,), chunks=(10,), dtype="float64")
3131

3232
with serve_background(node_app(array)) as server:
33-
print(server.url) # e.g. http://127.0.0.1:8000
33+
print(server.url) # e.g. http://127.0.0.1:8000
3434
```
3535

3636
Building an app and running it are separate steps, and either app works with

0 commit comments

Comments
 (0)