Apply linter

Summary: Applies lint

Reviewed By: arpitkalla

Differential Revision: D98515496

fbshipit-source-id: 967c9bf19ef7e1e25906204075c37c8461ed2a0e
This commit is contained in:
Joseph Greer
2026-03-27 12:40:51 -07:00
committed by meta-codesync[bot]
parent 9f22cb976f
commit 5a3143c652
54 changed files with 618 additions and 618 deletions
@@ -58,9 +58,9 @@ class YtVideoPrep:
df = self.yt1b_start_end_time_df[
self.yt1b_start_end_time_df.saco_yt1b_id == self.saco_yt1b_id
]
assert (
len(df) == 1
), f"Expected exactly 1 row for saco_yt1b_id: {self.saco_yt1b_id}, found {len(df)}"
assert len(df) == 1, (
f"Expected exactly 1 row for saco_yt1b_id: {self.saco_yt1b_id}, found {len(df)}"
)
id_and_frame_map_row = df.iloc[0]
yt_video_id = (
@@ -82,9 +82,9 @@ class YtVideoPrep:
def download_youtube_video(self):
video_url = f"https://youtube.com/watch?v={self.yt_video_id}"
assert os.path.exists(
self.cookies_file
), f"Cookies file '{self.cookies_file}' not found. Must have it to download videos."
assert os.path.exists(self.cookies_file), (
f"Cookies file '{self.cookies_file}' not found. Must have it to download videos."
)
outtmpl = self.raw_video_path