From 55d5d29fed32a6415fbca282530738ae2736a05e Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Tue, 17 Nov 2026 22:50:37 +0100 Subject: [PATCH] Satisfy pylint in coverage helper Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01WzxdWZB8QEaFVQoa8CjuAw --- scripts/gate_changed_coverage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gate_changed_coverage.py b/scripts/gate_changed_coverage.py index 7e2dbab..1b83625 100644 --- a/scripts/gate_changed_coverage.py +++ b/scripts/gate_changed_coverage.py @@ -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