fix(types): T1 — remove 15 stale type: ignore comments confirmed unused by mypy

This commit is contained in:
2026-05-01 01:26:24 -04:00
parent 19271f9319
commit f597ab2810
12 changed files with 15 additions and 15 deletions

View File

@@ -368,7 +368,7 @@ def _stream_container(
publish_fn: CollectorPublishFn | None = None,
) -> None:
"""Stream logs from one container and append to the host log files."""
import docker # type: ignore[import]
import docker
lf: Optional[Any] = None
jf: Optional[Any] = None
@@ -472,7 +472,7 @@ async def log_collector_worker(log_file: str) -> None:
Watches Docker events to pick up containers started after initial scan.
"""
import docker # type: ignore[import]
import docker
log_path = Path(log_file)
json_path = log_path.with_suffix(".json")