Skip to content

Commit 65f2db4

Browse files
committed
Merge branch 'main' into kyle/object-store
2 parents 0f8820d + 87557e3 commit 65f2db4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1077
-201
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ TODO:
44
* [ ] Add unit tests and/or doctests in docstrings
55
* [ ] Add docstrings and API docs for any new/modified user-facing classes and functions
66
* [ ] New/modified features documented in `docs/user-guide/*.rst`
7-
* [ ] Changes documented in `docs/release-notes.rst`
7+
* [ ] Changes documented as a new file in `changes/`
88
* [ ] GitHub Actions have all passed
99
* [ ] Test coverage is 100% (Codecov passes)

.github/labeler.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
needs release notes:
2-
- all: ['!docs/release-notes.rst']
2+
- all:
3+
- changed-files:
4+
- all-globs-to-all-files: '!changes/*.rst'

.github/workflows/gpu_test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,9 @@ jobs:
6464
- name: Run Tests
6565
run: |
6666
hatch env run --env gputest.py${{ matrix.python-version }}-${{ matrix.numpy-version }}-${{ matrix.dependency-set }} run-coverage
67+
68+
- name: Upload coverage
69+
uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1
70+
with:
71+
token: ${{ secrets.CODECOV_TOKEN }}
72+
verbose: true # optional (default = false)

.github/workflows/needs_release_notes.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ on:
44
- pull_request_target
55

66
jobs:
7-
triage:
7+
labeler:
88
if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }} && ${{ github.event.pull_request.user.login != 'pre-commit-ci[bot]' }}
9+
permissions:
10+
contents: read
11+
pull-requests: write
912
runs-on: ubuntu-latest
1013
steps:
1114
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0

.github/workflows/releases.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
with:
5656
name: releases
5757
path: dist
58-
- uses: pypa/[email protected].3
58+
- uses: pypa/[email protected].4
5959
with:
6060
user: __token__
6161
password: ${{ secrets.pypi_password }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ src/zarr/_version.py
8383
data/*
8484
src/fixture/
8585
fixture/
86+
junit.xml
8687

8788
.DS_Store
8889
tests/.hypothesis

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,7 @@ repos:
5050
rev: v1.8.0
5151
hooks:
5252
- id: numpydoc-validation
53+
- repo: https://github.com/twisted/towncrier
54+
rev: 23.11.0
55+
hooks:
56+
- id: towncrier-check

.readthedocs.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ build:
44
os: ubuntu-22.04
55
tools:
66
python: "3.12"
7+
jobs:
8+
pre_build:
9+
- |
10+
if [ "$READTHEDOCS_VERSION_TYPE" != "tag" ];
11+
then
12+
towncrier build --version Unreleased --yes;
13+
fi
714
815
sphinx:
916
configuration: docs/conf.py

changes/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
!.gitignore

changes/2781.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Enable automatic removal of `needs release notes` with labeler action

0 commit comments

Comments
 (0)