Skip to content

Commit 7dabefe

Browse files
[pre-commit.ci] pre-commit autoupdate (#663)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.11.12 → v0.12.2](astral-sh/ruff-pre-commit@v0.11.12...v0.12.2) - [github.com/numpy/numpydoc: v1.8.0 → v1.9.0](numpy/numpydoc@v1.8.0...v1.9.0) * Lint --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Max Jones <[email protected]>
1 parent ce44d1f commit 7dabefe

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repos:
1212

1313
- repo: https://github.com/astral-sh/ruff-pre-commit
1414
# Ruff version.
15-
rev: v0.11.12
15+
rev: v0.12.2
1616
hooks:
1717
# Run the linter.
1818
- id: ruff
@@ -29,6 +29,6 @@ repos:
2929
- id: codespell
3030
args: ["-L", "fo,ihs,kake,te", "-S", "fixture"]
3131
- repo: https://github.com/numpy/numpydoc
32-
rev: v1.8.0
32+
rev: v1.9.0
3333
hooks:
3434
- id: numpydoc-validation

virtualizarr/manifests/store.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,9 @@ async def get(
252252
chunk_indexes = parse_manifest_index(
253253
key, marr.metadata.chunk_key_encoding.separator
254254
)
255-
path = manifest._paths[*chunk_indexes]
256-
offset = manifest._offsets[*chunk_indexes]
257-
length = manifest._lengths[*chunk_indexes]
255+
path = manifest._paths[chunk_indexes]
256+
offset = manifest._offsets[chunk_indexes]
257+
length = manifest._lengths[chunk_indexes]
258258
# Get the configured object store instance that matches the path
259259
store = self._store_registry.get_store(path)
260260
if not store:

0 commit comments

Comments
 (0)