Skip to content

Commit 8f03f98

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent d021c83 commit 8f03f98

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

data_compression/coordinate_compression.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,9 @@ def decompress(self, index: int) -> int:
9797
ValueError: Invalid index: 3. Must be between 0 and 2.
9898
"""
9999
if not 0 <= index < len(self.values):
100-
raise ValueError(f"Invalid index: {index}. Must be between 0 and {len(self.values) - 1}.")
100+
raise ValueError(
101+
f"Invalid index: {index}. Must be between 0 and {len(self.values) - 1}."
102+
)
101103
return self.values[index]
102104

103105

0 commit comments

Comments
 (0)