fix: type the model notes filter

This commit is contained in:
Abdessamad Derraz committed 2026-10-21 05:17:16 +02:00
1 parent 4d514336c9
commit b275f278ca
1 file changed
+2 -1
+2 -1
View File
@@ -40,6 +40,7 @@ import shutil
import subprocess
import sys
import tempfile
from collections.abc import Iterator
from concurrent.futures import ThreadPoolExecutor
from dataclasses import asdict, dataclass, field
from datetime import datetime, timezone
@@ -478,7 +479,7 @@ _MODEL_NOTES = ("WARNING: hash conflict",)
@contextlib.contextmanager
def _without_model_notes():
def _without_model_notes() -> Iterator[None]:
"""Keep the model build's own notes out of the freshness report.
Anything else written to stderr passes through.