From 86561297f127622961311c14191d7efd531cde24 Mon Sep 17 00:00:00 2001 From: Patrick Loeber <98830383+ploeber@users.noreply.github.com> Date: Mon, 16 Sep 2024 12:21:19 +0200 Subject: [PATCH] Fix ruff linting --- assemblyai/extras.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/assemblyai/extras.py b/assemblyai/extras.py index 1ff6761..a0dea27 100644 --- a/assemblyai/extras.py +++ b/assemblyai/extras.py @@ -22,11 +22,7 @@ def __init__( class MicrophoneStream: - def __init__( - self, - sample_rate: int = 44_100, - device_index: int = None - ): + def __init__(self, sample_rate: int = 44_100, device_index: int = None): """ Creates a stream of audio from the microphone. @@ -144,4 +140,4 @@ def file_from_stream(data: BinaryIO) -> str: return api.upload_file( client=Client.get_default().http_client, audio_file=data, - ) \ No newline at end of file + )