Skip to content

Commit 2736b51

Browse files
committed
Ruff formatting
1 parent 3273e2b commit 2736b51

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

numcodecs/errors.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
This module defines custom exceptions that are raised in the `numcodecs` codebase.
33
"""
44

5+
56
class UnknownCodecError(Exception):
67
"""
78
An exception that is raised when trying to receive a codec that has not been registered.
@@ -14,4 +15,4 @@ class UnknownCodecError(Exception):
1415

1516
def __init__(self, codec_id: str):
1617
self.codec_id = codec_id
17-
super().__init__(f"codec not available: '{codec_id}'")
18+
super().__init__(f"codec not available: '{codec_id}'")

0 commit comments

Comments
 (0)