Skip to content

Commit 0b5c055

Browse files
committed
Fix ruff linting
1 parent 9299487 commit 0b5c055

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

assemblyai/extras.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@ def __init__(
2222

2323

2424
class MicrophoneStream:
25-
def __init__(
26-
self,
27-
sample_rate: int = 44_100,
28-
device_index: int = None
29-
):
25+
def __init__(self, sample_rate: int = 44_100, device_index: int = None):
3026
"""
3127
Creates a stream of audio from the microphone.
3228
@@ -144,4 +140,4 @@ def file_from_stream(data: BinaryIO) -> str:
144140
return api.upload_file(
145141
client=Client.get_default().http_client,
146142
audio_file=data,
147-
)
143+
)

0 commit comments

Comments
 (0)