Skip to content

Commit

Permalink
Apply ruff rule RUF022
Browse files Browse the repository at this point in the history
RUF022 `__all__` is not sorted
  • Loading branch information
DimitriPapadopoulos committed Nov 29, 2024
1 parent 1cce865 commit 80cec26
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion numcodecs/zarr3.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@
if zarr.__version__ < "3.0.0": # pragma: no cover
raise ImportError("zarr 3.0.0 or later is required to use the numcodecs zarr integration.")
except ImportError as e: # pragma: no cover
raise ImportError("zarr 3.0.0 or later is required to use the numcodecs zarr integration.") from e
raise ImportError(
"zarr 3.0.0 or later is required to use the numcodecs zarr integration."
) from e

from zarr.abc.codec import ArrayArrayCodec, ArrayBytesCodec, BytesBytesCodec
from zarr.abc.metadata import Metadata
Expand Down

0 comments on commit 80cec26

Please sign in to comment.