Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ updates:
schedule:
# Check for updates to GitHub Actions every week
interval: "weekly"
groups:
github-actions:
patterns:
- "*"

# Perform checks and updates for python uv environment.
# This depends on changes to dependabot via:
Expand All @@ -25,3 +29,7 @@ updates:
schedule:
# Check for updates to uv environment files every week
interval: "weekly"
groups:
uv:
patterns:
- "*"
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
python-version: "3.11"
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v7
- uses: pre-commit/action@v3.0.1
- uses: j178/prek-action@v1
# run pre-commit ci lite for automated fixes
- uses: pre-commit-ci/lite-action@v1.1.0
if: ${{ !cancelled() }}
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repos:
- id: check-yaml
- id: detect-private-key
- repo: https://github.com/tox-dev/pyproject-fmt
rev: "v2.11.1"
rev: "v2.12.1"
hooks:
- id: pyproject-fmt
- repo: https://github.com/citation-file-format/cffconvert
Expand All @@ -34,12 +34,12 @@ repos:
additional_dependencies:
- mdformat-gfm
- repo: https://github.com/adrienverge/yamllint
rev: v1.37.1
rev: v1.38.0
hooks:
- id: yamllint
exclude: pre-commit-config.yaml
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.14.11"
rev: "v0.15.0"
hooks:
- id: ruff-format
- id: ruff-check
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ dev = [
[tool.uv]
package = false

[tool.poe.tasks.setup]
shell = "uv venv && uv sync"

[tool.poe.tasks.lab]
shell = "uv venv && uv sync && uv run jupyter lab"

[tool.poe.tasks.run-benchmarks]
shell = "uv run python src/benchmarks/compare_parquet_vortex_lance.py && uv run python src/benchmarks/compare_parquet_vortex_lance_ome.py && uv run python src/benchmarks/compare_ome_arrow_only.py"

[tool.poe.tasks.setup]
shell = "uv venv && uv sync"

[tool.jupytext]
formats = "ipynb,py:light"

Expand Down
5 changes: 3 additions & 2 deletions src/benchmarks/compare_ome_arrow_only.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,8 +471,9 @@ def ome_zarr_random_read_native(indices, base_path=OME_ZARR_DIR):
arrays, path
),
"read": lambda path=OME_ZARR_DIR: ome_zarr_read_all_native(path),
"random_read": lambda path=OME_ZARR_DIR,
indices=None: ome_zarr_random_read_native(indices, path),
"random_read": lambda path=OME_ZARR_DIR, indices=None: (
ome_zarr_random_read_native(indices, path)
),
"table": ome_arrays, # run_benchmarks passes as cfg_table; here it's a list of numpy arrays
"random_repeats": RANDOM_READ_REPEATS,
"version": (
Expand Down
16 changes: 8 additions & 8 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.