Skip to content

Commit 9d1ed75

Browse files
committed
lint
1 parent dd3301b commit 9d1ed75

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/torchcodec/_internally_replaced_utils.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,8 @@ def load_core_libraries() -> tuple[int, str, ModuleType]:
186186
+ "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions)
187187
+ "[end of libtorchcodec loading traceback]."
188188
)
189-
raise RuntimeError(f"""Could not load libtorchcodec. Likely causes:
189+
raise RuntimeError(
190+
f"""Could not load libtorchcodec. Likely causes:
190191
1. FFmpeg is not properly installed in your environment. We support
191192
versions 4, 5, 6, 7, and 8, and we attempt to load libtorchcodec
192193
for each of those versions. Errors for versions not installed on
@@ -200,4 +201,6 @@ def load_core_libraries() -> tuple[int, str, ModuleType]:
200201
3. Another runtime dependency; see exceptions below.
201202
202203
The following exceptions were raised as we tried to load libtorchcodec:
203-
""" f"{traceback_info}")
204+
"""
205+
f"{traceback_info}"
206+
)

0 commit comments

Comments
 (0)