Skip to content

Commit

Permalink
Fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwhite committed Jan 16, 2025
1 parent d91812a commit 28f6683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cubed/icechunk.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def store_icechunk(
) -> None:
if isinstance(sources, CoreArray):
sources = [sources]
targets = [targets]
targets = [targets] # type: ignore

if any(not isinstance(s, CoreArray) for s in sources):
raise ValueError("All sources must be cubed array objects")
Expand Down

0 comments on commit 28f6683

Please sign in to comment.