From 412035e6b2528579180ed4be8526ec9407d0ac9e Mon Sep 17 00:00:00 2001 From: Omar Amin <65174210+omaramin-2000@users.noreply.github.com> Date: Thu, 26 Mar 2026 14:54:40 +0200 Subject: [PATCH] Fix lint formatting (#262) --- linux_voice_assistant/__main__.py | 2 +- linux_voice_assistant/satellite.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/linux_voice_assistant/__main__.py b/linux_voice_assistant/__main__.py index 54bfd63..2160889 100644 --- a/linux_voice_assistant/__main__.py +++ b/linux_voice_assistant/__main__.py @@ -150,7 +150,7 @@ async def main() -> None: type=float, default=900.0, # 15 minutes help="Seconds before a ringing timer auto-stops (default: 900)", - ) + ) parser.add_argument( "--debug", action="store_true", diff --git a/linux_voice_assistant/satellite.py b/linux_voice_assistant/satellite.py index 2684ea9..f468bb8 100644 --- a/linux_voice_assistant/satellite.py +++ b/linux_voice_assistant/satellite.py @@ -418,7 +418,7 @@ class VoiceSatelliteProtocol(APIServer): if self._timer_finished: self._timer_finished = False - self._timer_ring_start = None + self._timer_ring_start = None self.unduck() self.state.tts_player.stop() _LOGGER.debug("Stopping timer finished sound") @@ -467,7 +467,7 @@ class VoiceSatelliteProtocol(APIServer): self.unduck() self._timer_ring_start = None return - + # Auto-stop after timer_max_ring_seconds if self._timer_ring_start is not None: elapsed = time.monotonic() - self._timer_ring_start @@ -482,7 +482,7 @@ class VoiceSatelliteProtocol(APIServer): self.state.active_wake_words.discard(self.state.stop_word.id) self.unduck() return - + self.state.tts_player.play( self.state.timer_finished_sound, done_callback=lambda: call_all(