From 79341452d8f1d050a5fa5bfbba69345a207e2610 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 20:50:25 +0000 Subject: [PATCH 1/2] chore: update pre-commit hooks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.7.4 → v0.8.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.4...v0.8.0) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 21c9c0d9..0797afc6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: - id: debug-statements - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.4 + rev: v0.8.0 hooks: - id: ruff args: ["--fix", "--show-fixes"] From 3668e3792dba3037074244631f908505df762853 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 20:51:10 +0000 Subject: [PATCH 2/2] style: pre-commit fixes --- numcodecs/zarr3.py | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/numcodecs/zarr3.py b/numcodecs/zarr3.py index fb579839..c4c45f1c 100644 --- a/numcodecs/zarr3.py +++ b/numcodecs/zarr3.py @@ -355,25 +355,25 @@ def evolve_from_array_spec(self, array_spec: ArraySpec) -> AsType: ZFPY = _add_docstring(_make_array_bytes_codec("zfpy", "ZFPY"), "numcodecs.zfpy.ZFPY") __all__ = [ - "Blosc", - "LZ4", - "Zstd", - "Zlib", - "GZip", "BZ2", - "LZMA", - "Shuffle", - "Delta", - "BitRound", - "FixedScaleOffset", - "Quantize", - "PackBits", - "AsType", "CRC32", "CRC32C", + "LZ4", + "LZMA", + "ZFPY", "Adler32", + "AsType", + "BitRound", + "Blosc", + "Delta", + "FixedScaleOffset", "Fletcher32", + "GZip", "JenkinsLookup3", "PCodec", - "ZFPY", + "PackBits", + "Quantize", + "Shuffle", + "Zlib", + "Zstd", ]