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

@@ -32,7 +32,7 @@ router = APIRouter(prefix="/deckies/{decky_name}/tarpit", tags=["Deckies"])
_DECKY_RE = r"^[a-z0-9\-]{1,64}$"
def _tc(*args: str) -> subprocess.CompletedProcess: # type: ignore[type-arg]
def _tc(*args: str) -> subprocess.CompletedProcess[str]:
cmd = ["tc", *args]
return subprocess.run(cmd, capture_output=True, text=True) # nosec B603 B404

View File

@@ -99,7 +99,7 @@ class WorkerRegistry:
payload.pop("ts", None)
out.append(WorkerStatus(
name=name,
status=status, # type: ignore[arg-type]
status=status,
last_heartbeat_ts=ts,
seconds_since=seconds_since,
extra=payload,