From 8f78369aaf3d470a5574d23e5717e7732a5d81b0 Mon Sep 17 00:00:00 2001 From: Julian Stirling Date: Wed, 27 Aug 2025 14:28:14 +0100 Subject: [PATCH] fixup! Add ANN20X rules to ruff --- src/openflexure_microscope_server/things/system.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openflexure_microscope_server/things/system.py b/src/openflexure_microscope_server/things/system.py index 48417e31..d2b022bb 100644 --- a/src/openflexure_microscope_server/things/system.py +++ b/src/openflexure_microscope_server/things/system.py @@ -6,7 +6,7 @@ the microscope, server, and thing states to the web API. from collections.abc import Mapping import socket -from typing import Optional +from typing import Optional, Any from uuid import UUID, uuid4 import subprocess import os @@ -127,7 +127,7 @@ class OpenFlexureSystem(lt.Thing): return metadata_getter() @property - def thing_state(self) -> Mapping: + def thing_state(self) -> Mapping[str, Any]: """Summary metadata describing the current state of the Thing.""" return { "hostname": self.hostname,