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
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ repos:
- id: check-yaml
- id: detect-private-key
- repo: https://github.com/tox-dev/pyproject-fmt
rev: "v2.25.1"
rev: "v2.26.0"
hooks:
- id: pyproject-fmt
- repo: https://github.com/citation-file-format/cffconvert
rev: b6045d78aac9e02b039703b030588d54d53262ac
hooks:
- id: validate-cff
- repo: https://github.com/codespell-project/codespell
rev: v2.4.2
rev: v2.4.3
hooks:
- id: codespell
exclude: |
Expand All @@ -39,7 +39,7 @@ repos:
- id: yamllint
exclude: pre-commit-config.yaml
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.15.20"
rev: "v0.16.0"
hooks:
- id: ruff-format
- id: ruff-check
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ lint.select = [
"W",
]
# ignore various rules for all
lint.per-file-ignores."*" = [ "ANN401", "C901", "PLC0415", "PLR0912", "PLR0913", "PLR0915", "PLR2004" ]
lint.per-file-ignores."*" = [ "ANN401", "C901", "PLC0415", "PLR0912", "PLR0913", "PLR0915", "PLR0917", "PLR2004" ]
# Ignore `F401` (unused imports) for `__init__.py` file
lint.per-file-ignores."__init__.py" = [ "F401" ]
# ignore docstring presence checks for docs
Expand Down
16 changes: 8 additions & 8 deletions src/ome_arrow/tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,14 +139,14 @@ def with_layout(self, layout: str) -> "LazyTensorView":
def select(
self,
*,
t: int | slice | Sequence[int] | None | _Unset = _UNSET,
z: int | slice | Sequence[int] | None | _Unset = _UNSET,
c: int | slice | Sequence[int] | None | _Unset = _UNSET,
roi: tuple[int, int, int, int] | None | _Unset = _UNSET,
roi3d: tuple[int, int, int, int, int, int] | None | _Unset = _UNSET,
roi_nd: tuple[int, ...] | None | _Unset = _UNSET,
roi_type: Literal["2d", "2d_timelapse", "3d", "4d"] | None | _Unset = _UNSET,
tile: tuple[int, int] | None | _Unset = _UNSET,
t: int | slice | Sequence[int] | _Unset | None = _UNSET,
z: int | slice | Sequence[int] | _Unset | None = _UNSET,
c: int | slice | Sequence[int] | _Unset | None = _UNSET,
roi: tuple[int, int, int, int] | _Unset | None = _UNSET,
roi3d: tuple[int, int, int, int, int, int] | _Unset | None = _UNSET,
roi_nd: tuple[int, ...] | _Unset | None = _UNSET,
roi_type: Literal["2d", "2d_timelapse", "3d", "4d"] | _Unset | None = _UNSET,
tile: tuple[int, int] | _Unset | None = _UNSET,
) -> "LazyTensorView":
"""Return a new lazy plan with updated index/ROI selections."""
updates = {}
Expand Down
Loading