chore: lint and type the remaining tools

This commit is contained in:
Abdessamad Derraz committed 2026-11-17 08:25:26 +01:00
1 parent 54521380dc
commit fe243ce8a8
11 files changed
+27 -31

No files matched your search

+4 -3
View File
@@ -90,10 +90,11 @@ def compare(
served = next(
(name for name in _spellings(names[path]) if name in assets), None
)
published = assets[served] if served else None
if published is None:
if not served:
findings.append(AssetFinding("missing", path, size, None))
elif published != size:
continue
published = assets[served]
if published != size:
findings.append(AssetFinding("size", path, size, published))
else:
ours = (expected_digests or {}).get(path)