added ruff test

This commit is contained in:
ykcheungab
2026-09-27 19:20:43 +08:00
parent bcab2790bf
commit fa2703968e
178 changed files with 3277 additions and 1034 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ STOP_BUDGET_S = 0.5
class FakeSensor:
"""Blocks in the constructor until ``release`` is set."""
def __init__(self, release: threading.Event, tracker: "OpenTracker", **kwargs):
def __init__(self, release: threading.Event, tracker: OpenTracker, **kwargs):
tracker.opened(self)
if not release.wait(timeout=10.0):
raise TimeoutError("fake sensor was never released")