Skip to content

Commit d2065d0

Browse files
Apply ruff/Pylint rule PLW2901
PLW2901 `for` loop variable overwritten by assignment target
1 parent 175c762 commit d2065d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ome_zarr/writer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def write_multiscale(
298298
del options["chunk_key_encoding"]
299299
# handle any 'chunks' option from storage_options
300300
if chunks_opt is not None:
301-
data = da.array(data).rechunk(chunks=chunks_opt)
301+
data = da.array(data).rechunk(chunks=chunks_opt) # noqa: PLW2901
302302
da_delayed = da.to_zarr(
303303
arr=data,
304304
url=group.store,

0 commit comments

Comments
 (0)