Satisfy pylint in coverage helper

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWZB8QEaFVQoa8CjuAw
This commit is contained in:
Krzysztof Rudnicki 2026-11-17 22:50:37 +01:00
parent c3207c43dc
commit 55d5d29fed

View File

@ -29,7 +29,7 @@ def uncovered(lcov: str, wanted: set[str]) -> dict[str, list[int] | None]:
current = None
elif line.startswith("DA:") and current is not None:
num, hits = line[3:].split(",")[:2]
if int(hits) == 0:
if not int(hits):
(result[current] or []).append(int(num))
return result