From 9d6d53629e4b0fd9af69f877e1b65ce8c1390c37 Mon Sep 17 00:00:00 2001 From: Designedforusers Date: Sat, 2 Aug 2025 18:27:09 -0400 Subject: [PATCH] style: Apply ruff formatting to fix line length Fixed a line length issue in tavus.py where the on_transcription_stopped callback was exceeding the maximum line length. Split the partial() call across multiple lines for better readability and compliance with project style guidelines. --- src/pipecat/transports/services/tavus.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pipecat/transports/services/tavus.py b/src/pipecat/transports/services/tavus.py index 119ce2b8c..e4e57717a 100644 --- a/src/pipecat/transports/services/tavus.py +++ b/src/pipecat/transports/services/tavus.py @@ -245,7 +245,9 @@ class TavusTransportClient: on_recording_started=partial(self._on_handle_callback, "on_recording_started"), on_recording_stopped=partial(self._on_handle_callback, "on_recording_stopped"), on_recording_error=partial(self._on_handle_callback, "on_recording_error"), - on_transcription_stopped=partial(self._on_handle_callback, "on_transcription_stopped"), + on_transcription_stopped=partial( + self._on_handle_callback, "on_transcription_stopped" + ), on_transcription_error=partial(self._on_handle_callback, "on_transcription_error"), ) self._client = DailyTransportClient(