Skip to content

Commit

Permalink
Linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dstansby committed Jan 4, 2025
1 parent 4c56240 commit f83a176
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion numcodecs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"""

import atexit
import multiprocessing
from contextlib import suppress

Expand Down
5 changes: 3 additions & 2 deletions numcodecs/blosc.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ def decompress(source, dest: np.ndarray | bytearray | None = None):
else:
dest[:] = blosc.decompress(source)

return None


class Blosc(Codec):
"""
Expand Down Expand Up @@ -224,5 +226,4 @@ def decode(self, buf, out=None):
return decompress(buf, out)

def __repr__(self):
r = f'{type(self).__name__}(cname={self.cname!r}, clevel={self.clevel!r}, shuffle={_shuffle_repr[self.shuffle + 1]}, blocksize={self.blocksize})'
return r
return f'{type(self).__name__}(cname={self.cname!r}, clevel={self.clevel!r}, shuffle={_shuffle_repr[self.shuffle + 1]}, blocksize={self.blocksize})'

0 comments on commit f83a176

Please sign in to comment.