File tree 2 files changed +7
-8
lines changed
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
2
2
"""Numcodecs is a Python package providing buffer compression and
3
3
transformation codecs for use in data storage and communication
4
4
applications. These include:
21
21
import multiprocessing
22
22
from contextlib import suppress
23
23
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
26
27
from numcodecs .zlib import Zlib
27
28
28
29
register_codec (Zlib )
55
56
atexit .register (blosc .destroy )
56
57
57
58
with suppress (ImportError ):
58
- from numcodecs import zstd
59
+ from numcodecs import zstd as zstd
59
60
from numcodecs .zstd import Zstd
60
61
61
62
register_codec (Zstd )
62
63
63
64
with suppress (ImportError ):
64
- from numcodecs import lz4
65
+ from numcodecs import lz4 as lz4
65
66
from numcodecs .lz4 import LZ4
66
67
67
68
register_codec (LZ4 )
127
128
register_codec (JSON )
128
129
129
130
with suppress (ImportError ):
130
- from numcodecs import vlen
131
+ from numcodecs import vlen as vlen
131
132
from numcodecs .vlen import VLenArray , VLenBytes , VLenUTF8
132
133
133
134
register_codec (VLenUTF8 )
Original file line number Diff line number Diff line change 1
- # ruff: noqa: F401
2
1
import array
3
2
import codecs
4
- import functools
5
3
6
4
import numpy as np
7
5
You can’t perform that action at this time.
0 commit comments