mirror of
https://github.com/kuhyx/screen-locker.git
synced 2026-11-18 21:54:26 +01:00
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:
parent
c3207c43dc
commit
55d5d29fed
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user