Skip to content

Commit 5371cac

Browse files
committed
fix: linting
1 parent bfcf1f3 commit 5371cac

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/arduino/app_peripherals/camera/base_camera.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def __init__(
6464
# Event handling
6565
self._on_event_cb: Callable[[str, dict], None] | None = None
6666
self._event_executor = ThreadPoolExecutor(max_workers=1, thread_name_prefix="CameraEvent")
67-
67+
6868
@property
6969
def _none_frame_threshold(self) -> int:
7070
"""Heuristic: 750ms of empty frames based on current fps."""

tests/arduino/app_peripherals/camera/test_base_camera.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,8 +380,9 @@ def adj2(frame):
380380
assert camera.read_call_count == 1
381381
assert np.all(frame == 10)
382382

383+
383384
def test_events():
384-
camera = MockedCamera(fps = 5)
385+
camera = MockedCamera(fps=5)
385386
events = []
386387

387388
def event_callback(event, data):
@@ -411,4 +412,4 @@ def event_callback(event, data):
411412
assert "connected" in events[0][0]
412413
assert "paused" in events[1][0]
413414
assert "resumed" in events[2][0]
414-
assert "disconnected" in events[3][0]
415+
assert "disconnected" in events[3][0]

0 commit comments

Comments
 (0)