Skip to content

Commit b751e24

Browse files
authored
fix lint failure in clips module
1 parent 97a7efe commit b751e24

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

poseinterface/clips.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,8 @@ def extract_start_frames_label(cliplabels_path: str | Path) -> Path:
219219
# Validate input filename
220220
if not cliplabels_path.name.endswith("_cliplabels.json"):
221221
raise ValueError(
222-
f"Input file must end with '_cliplabels.json', got {cliplabels_path.name}"
222+
"Input file must end with '_cliplabels.json', "
223+
f"got {cliplabels_path.name}"
223224
)
224225

225226
# Read the cliplabels file
@@ -345,7 +346,8 @@ def extract_start_frames_label_s3(
345346
# Keep categories unchanged
346347
start_labels["categories"] = clip_labels["categories"]
347348

348-
# Generate output key by replacing _cliplabels.json with _startlabels.json
349+
# Generate output key by replacing _cliplabels.json with
350+
# _startlabels.json
349351
output_key = key.replace("_cliplabels.json", "_startlabels.json")
350352
output_uri = f"s3://{bucket_name}/{output_key}"
351353

0 commit comments

Comments
 (0)