Skip to content

Commit 55821b8

Browse files
committed
Merge branch 'main' into perf/codec-chain
2 parents 23344e0 + a02d996 commit 55821b8

31 files changed

+420
-152
lines changed

.github/workflows/check_changelogs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: Check changelog entries
22

33
on:
44
pull_request:
5+
workflow_dispatch:
6+
7+
permissions:
8+
contents: read
59

610
jobs:
711
check-changelogs:

.github/workflows/gpu_test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ on:
1313
env:
1414
LD_LIBRARY_PATH: /usr/local/cuda/extras/CUPTI/lib64:/usr/local/cuda/lib64
1515

16+
permissions:
17+
contents: read
18+
1619
concurrency:
1720
group: ${{ github.workflow }}-${{ github.ref }}
1821
cancel-in-progress: true

.github/workflows/hypothesis.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
- cron: "0 0 * * *" # Daily “At 00:00” UTC
1010
workflow_dispatch: # allows you to trigger manually
1111

12+
permissions:
13+
contents: read
14+
1215
env:
1316
FORCE_COLOR: 3
1417

.github/workflows/lint.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
branches: [main, 3.1.x]
88
workflow_dispatch:
99

10+
permissions:
11+
contents: read
12+
1013
concurrency:
1114
group: ${{ github.workflow }}-${{ github.ref }}
1215
cancel-in-progress: true
@@ -17,9 +20,4 @@ jobs:
1720
runs-on: ubuntu-latest
1821
steps:
1922
- uses: actions/checkout@v6
20-
- name: Install uv
21-
uses: astral-sh/setup-uv@v7
22-
- name: Install prek
23-
run: uv tool install prek
24-
- name: Run prek
25-
run: prek run --all-files
23+
- uses: j178/prek-action@v1

.github/workflows/needs_release_notes.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: "Pull Request Labeler"
22

33
on:
4-
- pull_request_target
4+
- pull_request_target:
5+
types: [opened, reopened, synchronize]
56

67
jobs:
78
labeler:

.github/workflows/nightly_wheels.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- cron: '0 2 * * *'
77
workflow_dispatch:
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
build_and_upload_nightly:
1114
name: Build and upload nightly wheels

.github/workflows/releases.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
name: Wheels
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
workflow_dispatch:
9+
10+
permissions:
11+
contents: read
412

513
jobs:
614

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
branches: [ main, 3.1.x ]
1111
workflow_dispatch:
1212

13+
permissions:
14+
contents: read
15+
1316
concurrency:
1417
group: ${{ github.workflow }}-${{ github.ref }}
1518
cancel-in-progress: true
@@ -150,4 +153,4 @@ jobs:
150153
contains(needs.*.result, 'cancelled')
151154
run: exit 1
152155
- name: Success
153-
run: echo Success!
156+
run: echo Success!

.pre-commit-config.yaml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ default_language_version:
1111

1212
repos:
1313
- repo: https://github.com/astral-sh/ruff-pre-commit
14-
rev: v0.14.14
14+
rev: v0.15.4
1515
hooks:
1616
- id: ruff-check
1717
args: ["--fix", "--show-fixes"]
@@ -47,18 +47,22 @@ repos:
4747
- hypothesis
4848
- s3fs
4949
- repo: https://github.com/scientific-python/cookie
50-
rev: 2025.11.21
50+
rev: 2026.03.02
5151
hooks:
5252
- id: sp-repo-review
53-
- repo: https://github.com/pre-commit/pygrep-hooks
54-
rev: v1.10.0
55-
hooks:
56-
- id: rst-directive-colons
57-
- id: rst-inline-touching-normal
5853
- repo: https://github.com/numpy/numpydoc
5954
rev: v1.10.0
6055
hooks:
6156
- id: numpydoc-validation
57+
- repo: local
58+
hooks:
59+
- id: ban-lstrip-rstrip
60+
name: ban lstrip/rstrip
61+
language: pygrep
62+
# Matches .lstrip() or .rstrip() where the string argument is 2+ characters.
63+
entry: "\\.(lstrip|rstrip)\\([\"'][^\"']{2,}[\"']\\)"
64+
types: [python]
65+
files: ^(src|tests)/
6266
- repo: https://github.com/twisted/towncrier
6367
rev: 25.8.0
6468
hooks:

changes/3464.doc.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add documentation example for creating uncompressed arrays in the Compression section of the user guide.

0 commit comments

Comments
 (0)