File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 1- # ruff: noqa: E402,F401
1+ # ruff: noqa: E402
22"""Numcodecs is a Python package providing buffer compression and
33transformation codecs for use in data storage and communication
44applications. These include:
2121import multiprocessing
2222from contextlib import suppress
2323
24- from numcodecs .registry import get_codec , register_codec
25- from numcodecs .version import version as __version__
24+ from numcodecs .registry import get_codec as get_codec
25+ from numcodecs .registry import register_codec
26+ from numcodecs .version import version as __version__ # noqa: F401
2627from numcodecs .zlib import Zlib
2728
2829register_codec (Zlib )
5556 atexit .register (blosc .destroy )
5657
5758with suppress (ImportError ):
58- from numcodecs import zstd
59+ from numcodecs import zstd as zstd
5960 from numcodecs .zstd import Zstd
6061
6162 register_codec (Zstd )
6263
6364with suppress (ImportError ):
64- from numcodecs import lz4
65+ from numcodecs import lz4 as lz4
6566 from numcodecs .lz4 import LZ4
6667
6768 register_codec (LZ4 )
127128register_codec (JSON )
128129
129130with suppress (ImportError ):
130- from numcodecs import vlen
131+ from numcodecs import vlen as vlen
131132 from numcodecs .vlen import VLenArray , VLenBytes , VLenUTF8
132133
133134 register_codec (VLenUTF8 )
Original file line number Diff line number Diff line change 1- # ruff: noqa: F401
21import array
32import codecs
4- import functools
53
64import numpy as np
75
You can’t perform that action at this time.
0 commit comments