Skip to content

Commit 33e6a12

Browse files
Apply ruff rule RUF022
RUF022 `__all__` is not sorted
1 parent 13b38c6 commit 33e6a12

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

numcodecs/zarr3.py

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@
4141
if zarr.__version__ < "3.0.0": # pragma: no cover
4242
raise ImportError("zarr 3.0.0 or later is required to use the numcodecs zarr integration.")
4343
except ImportError as e: # pragma: no cover
44-
raise ImportError("zarr 3.0.0 or later is required to use the numcodecs zarr integration.") from e
44+
raise ImportError(
45+
"zarr 3.0.0 or later is required to use the numcodecs zarr integration."
46+
) from e
4547

4648
from zarr.abc.codec import ArrayArrayCodec, ArrayBytesCodec, BytesBytesCodec
4749
from zarr.abc.metadata import Metadata
@@ -356,25 +358,25 @@ def evolve_from_array_spec(self, array_spec: ArraySpec) -> AsType:
356358
ZFPY = _add_docstring(_make_array_bytes_codec("zfpy", "ZFPY"), "numcodecs.zfpy.ZFPY")
357359

358360
__all__ = [
359-
"Blosc",
360-
"LZ4",
361-
"Zstd",
362-
"Zlib",
363-
"GZip",
364361
"BZ2",
365-
"LZMA",
366-
"Shuffle",
367-
"Delta",
368-
"BitRound",
369-
"FixedScaleOffset",
370-
"Quantize",
371-
"PackBits",
372-
"AsType",
373362
"CRC32",
374363
"CRC32C",
364+
"LZ4",
365+
"LZMA",
366+
"ZFPY",
375367
"Adler32",
368+
"AsType",
369+
"BitRound",
370+
"Blosc",
371+
"Delta",
372+
"FixedScaleOffset",
376373
"Fletcher32",
374+
"GZip",
377375
"JenkinsLookup3",
378376
"PCodec",
379-
"ZFPY",
377+
"PackBits",
378+
"Quantize",
379+
"Shuffle",
380+
"Zlib",
381+
"Zstd",
380382
]

0 commit comments

Comments
 (0)