Skip to content

Commit 11d1cd1

Browse files
authored
Merge pull request #233 from funkelab/zarr3
Zarr3
2 parents 94afa7b + b0a5e62 commit 11d1cd1

100 files changed

Lines changed: 905 additions & 1480 deletions

File tree

Some content is hidden

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

.claude/settings.local.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(uv run *)"
5+
]
6+
}
7+
}

.github/workflows/black.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/workflows/mypy.yaml

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/workflows/publish-docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Install package and dependencies
3333
run: |
3434
pip install git+https://github.com/funkelab/funlib.learn.torch
35-
python -m pip install -e .[docs]
35+
python -m pip install --group docs -e .
3636
3737
- name: Build documentation
3838
run: sphinx-build docs/source docs/build/html -b html

.github/workflows/publish.yaml

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,15 @@ on:
66

77
jobs:
88
build-n-publish:
9-
name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
9+
name: Build and publish to PyPI
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@master
13-
- name: Set up Python 3.10
14-
uses: actions/setup-python@v3
15-
with:
16-
python-version: "3.10"
17-
- name: Install pypa/build
18-
run: >-
19-
python -m
20-
pip install
21-
build
22-
--user
23-
- name: Build a binary wheel and a source tarball
24-
run: >-
25-
python -m
26-
build
27-
--sdist
28-
--wheel
29-
--outdir dist/
30-
- name: Publish distribution 📦 to PyPI
12+
- uses: actions/checkout@v4
13+
- uses: astral-sh/setup-uv@v5
14+
- name: Build
15+
run: uv build
16+
- name: Publish to PyPI
3117
if: startsWith(github.ref, 'refs/tags')
3218
uses: pypa/gh-action-pypi-publish@release/v1
3319
with:
34-
password: ${{ secrets.PYPI_API_TOKEN }}
20+
password: ${{ secrets.PYPI_API_TOKEN }}

.github/workflows/ruff.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: ruff
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
lint:
7+
name: Lint
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: astral-sh/setup-uv@v5
12+
- run: uv run --dev ruff check gunpowder tests

.github/workflows/test.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Tests
33
on:
44
push:
55
branches:
6-
- "*"
6+
- "*"
77
pull_request:
88
branches:
99
- master
@@ -15,8 +15,8 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
python-version: ["3.10", "3.11", "3.12"]
19-
platform: [ubuntu-latest]
18+
python-version: [ "3.12", "3.13" ]
19+
platform: [ ubuntu-latest ]
2020

2121
steps:
2222
- uses: actions/checkout@v3
@@ -25,6 +25,7 @@ jobs:
2525
uses: astral-sh/setup-uv@v7
2626

2727
- name: Run tests
28-
run: uv run --python=${{ matrix.python-version }} --extra dev pytest -v --color yes --cov gunpowder --cov-report xml
28+
run: uv run --python=${{ matrix.python-version }} --group dev pytest -v --color
29+
yes --cov gunpowder --cov-report xml
2930

3031
- uses: codecov/codecov-action@v3

.github/workflows/ty.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: ty
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
typecheck:
7+
name: Type Check
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: astral-sh/setup-uv@v5
12+
- run: uv run --dev ty check

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ net_iter*
1111
*.hdf
1212
*.h5
1313
docs/_build/
14+
uv.lock
1415

1516
# Byte-compiled / optimized / DLL files
1617
__pycache__/

Makefile

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)