From 1b43c8dc09adb9b54609cc8a1916c99eb6fe75c9 Mon Sep 17 00:00:00 2001 From: natsuoto <279971144+natsuoto@users.noreply.github.com> Date: Thu, 16 Jul 2026 17:31:49 +0530 Subject: chore: enforce fully strict static typing across library, tests, and tooling with zero suppressions --- tests/builder/cache.test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/builder/cache.test.py') diff --git a/tests/builder/cache.test.py b/tests/builder/cache.test.py index 045e8e9..4211698 100644 --- a/tests/builder/cache.test.py +++ b/tests/builder/cache.test.py @@ -1,6 +1,7 @@ """Tests for the per-instance lazy compile cache — semantics and cold/warm ratio.""" import time +from collections.abc import Callable from edify import Pattern, RegexBuilder @@ -21,7 +22,7 @@ def _hex_number_builder(): ) -def _measure_call_wall_clock(action, iterations): +def _measure_call_wall_clock(action: Callable[[], object], iterations: int) -> float: start = time.perf_counter() for _ in range(iterations): action() -- cgit v1.2.3