fix(tracks): annotate the hdr10+ probe plans list for strict mypy

This commit is contained in:
imSp4rky
2026-10-18 11:52:10 -06:00
parent d7c6907329
commit c0917c6537
+1 -1
View File
@@ -184,7 +184,7 @@ def probe_hdr10plus(
with ThreadPoolExecutor(max_workers=min(workers, len(tracks))) as executor:
return dict(zip(map(id, tracks), executor.map(probe, tracks)))
plans = []
plans: list[tuple[list["Video"], list["Video"], list["Video"]]] = []
for candidates in ladders:
if len(candidates) <= 4 or len({(v.width, v.height) for v in candidates}) < len(candidates):
plans.append((candidates, candidates, []))