diff --git a/src/aare/gui/panels/beamline_state_panel.py b/src/aare/gui/panels/beamline_state_panel.py index da6854e5..5e0493fa 100644 --- a/src/aare/gui/panels/beamline_state_panel.py +++ b/src/aare/gui/panels/beamline_state_panel.py @@ -340,7 +340,7 @@ class BeamlineStatePanel(QFrame): return if self._breathing_button is not None: # Qt deletes the old effect (and the animation parented to it). - self._breathing_button.setGraphicsEffect(None) # type: ignore[arg-type] + self._breathing_button.setGraphicsEffect(None) # pyright: ignore[reportArgumentType] self._breathing_button = button if button is None: return