From 0618263830c50eabfcef0cb3da5fb055f35a8436 Mon Sep 17 00:00:00 2001 From: Joe Knapper Date: Wed, 18 Mar 2026 14:12:27 +0000 Subject: [PATCH] Switch to ignoring line --- src/openflexure_microscope_server/stitching.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/openflexure_microscope_server/stitching.py b/src/openflexure_microscope_server/stitching.py index e6e92e6b..6e9d5107 100644 --- a/src/openflexure_microscope_server/stitching.py +++ b/src/openflexure_microscope_server/stitching.py @@ -227,7 +227,8 @@ class PreviewStitcher(BaseStitcher): # Windows has no SIGKILL self._popen_obj.kill() else: - self._popen_obj.send_signal(signal.SIGKILL) + # ignore this line in mypy as mypy doesn't understand using the bool as a check + self._popen_obj.send_signal(signal.SIGKILL) # type: ignore[attr-defined] raise (e)