Skip to content

Commit a280190

Browse files
authored
Merge branch 'main' into feat-fsspecstore-bulk-delete
2 parents ece0f0e + 0e1fde4 commit a280190

Some content is hidden

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

45 files changed

+762
-2643
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,12 @@ jobs:
6060
hatch env run -e test.py${{ matrix.python-version }}-${{ matrix.numpy-version }}-${{ matrix.dependency-set }} list-env
6161
- name: Run Tests
6262
run: |
63-
hatch env run --env test.py${{ matrix.python-version }}-${{ matrix.numpy-version }}-${{ matrix.dependency-set }} run
63+
hatch env run --env test.py${{ matrix.python-version }}-${{ matrix.numpy-version }}-${{ matrix.dependency-set }} run-coverage
64+
- name: Upload coverage
65+
uses: codecov/codecov-action@v5
66+
with:
67+
token: ${{ secrets.CODECOV_TOKEN }}
68+
verbose: true # optional (default = false)
6469

6570
test-upstream-and-min-deps:
6671
name: py=${{ matrix.python-version }}-${{ matrix.dependency-set }}

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ci:
66
default_stages: [pre-commit, pre-push]
77
repos:
88
- repo: https://github.com/astral-sh/ruff-pre-commit
9-
rev: v0.8.2
9+
rev: v0.8.6
1010
hooks:
1111
- id: ruff
1212
args: ["--fix", "--show-fixes"]
@@ -22,7 +22,7 @@ repos:
2222
- id: check-yaml
2323
- id: trailing-whitespace
2424
- repo: https://github.com/pre-commit/mirrors-mypy
25-
rev: v1.13.0
25+
rev: v1.14.1
2626
hooks:
2727
- id: mypy
2828
files: src|tests

codecov.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
coverage:
2+
status:
3+
patch:
4+
default:
5+
target: auto
6+
project:
7+
default:
8+
target: auto
9+
threshold: 0.1
10+
comment: false

docs/conf.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def skip_submodules(
7171
) -> bool:
7272
# Skip documenting zarr.codecs submodules
7373
# codecs are documented in the main zarr.codecs namespace
74-
if what == "module" and name.startswith("zarr.codecs."):
74+
if what == "module" and name.startswith("zarr.codecs.") or name.startswith("zarr.core"):
7575
skip = True
7676
return skip
7777

@@ -91,7 +91,7 @@ def skip_submodules(
9191

9292
# General information about the project.
9393
project = "zarr"
94-
copyright = "2024, Zarr Developers"
94+
copyright = "2025, Zarr Developers"
9595
author = "Zarr Developers"
9696

9797
version = get_version("zarr")
@@ -105,10 +105,10 @@ def skip_submodules(
105105
"license": "https://github.com/zarr-developers/zarr-python/blob/main/LICENSE.txt",
106106
"tutorial": "user-guide",
107107
"getting-started": "quickstart",
108-
"release": "developers/release.html",
109108
"roadmap": "developers/roadmap.html",
110109
"installation": "user-guide/installation.html",
111-
"api": "api/zarr/index"
110+
"api": "api/zarr/index",
111+
"release": "release-notes"
112112
}
113113

114114
# The language for content autogenerated by Sphinx. Refer to documentation
@@ -181,6 +181,7 @@ def skip_submodules(
181181
],
182182
"collapse_navigation": True,
183183
"navigation_with_keys": False,
184+
"announcement": "Zarr-Python 3 is here! Check out the release announcement <a href='https://zarr.dev/blog/zarr-python-3-release/'>here.</a>",
184185
}
185186

186187
# Add any paths that contain custom themes here, relative to this directory.

docs/developers/contributing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ and functions are included in the API documentation, under the ``docs/api`` fold
213213
using the `autodoc <https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html>`_
214214
extension to sphinx. Any new features or important usage information should be included in the
215215
user-guide (``docs/user-guide``). Any changes should also be included in the release
216-
notes (``docs/developers/release.rst``).
216+
notes (``docs/release-notes.rst``).
217217

218218
The documentation can be built locally by running::
219219

docs/developers/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@ Developer's Guide
66
:maxdepth: 1
77

88
contributing
9-
release
109
roadmap

0 commit comments

Comments
 (0)