We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4b2bcc commit 4be98a3Copy full SHA for 4be98a3
src/zarr/testing/strategies.py
@@ -352,7 +352,7 @@ def basic_indices(
352
allow_ellipsis: bool = True,
353
) -> Any:
354
"""Basic indices without unsupported negative slices."""
355
- strategy = npst.basic_indices(
+ strategy = npst.basic_indices( # type: ignore[call-overload]
356
shape=shape,
357
min_dims=min_dims,
358
max_dims=max_dims,
@@ -362,7 +362,7 @@ def basic_indices(
362
lambda idxr: (
363
not (
364
is_negative_slice(idxr)
365
- or (isinstance(idxr, tuple) and any(is_negative_slice(idx) for idx in idxr)) # type: ignore[redundant-expr]
+ or (isinstance(idxr, tuple) and any(is_negative_slice(idx) for idx in idxr))
366
)
367
368
0 commit comments