Skip to content

Commit e31fdb4

Browse files
Apply ruff/Pyflakes rule F841
F841 Local variable is assigned to but never used This issue is triggered in preview mode.
1 parent e968ac5 commit e31fdb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zarr/core/buffer/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ def all_equal(self, other: Any, equal_nan: bool = True) -> bool:
468468
# Handle None fill_value for Zarr V2
469469
return False
470470
# use array_equal to obtain equal_nan=True functionality
471-
data, other = np.broadcast_arrays(self._data, other)
471+
_data, other = np.broadcast_arrays(self._data, other)
472472
return np.array_equal(
473473
self._data, other, equal_nan=equal_nan if self._data.dtype.kind not in "US" else False
474474
)

0 commit comments

Comments
 (0)