Enable PyTest ruff checks

This commit is contained in:
Julian Stirling 2025-09-18 15:43:22 +01:00
parent 4655300910
commit d7d1f42b2c
11 changed files with 42 additions and 37 deletions

View file

@ -14,7 +14,7 @@ from openflexure_microscope_server.things.camera.picamera import (
)
@pytest.fixture()
@pytest.fixture
def picamera_thing() -> StreamingPiCamera2:
"""Return a StreamingPiCamera2 Thing.
@ -24,7 +24,7 @@ def picamera_thing() -> StreamingPiCamera2:
return StreamingPiCamera2()
@pytest.fixture()
@pytest.fixture
def client(picamera_thing) -> lt.ThingClient:
"""Initialise a test client for the StreamingPiCamera2 Thing.