Skip to content

Commit 5bb5bef

Browse files
committed
Remove one type: ignore
1 parent ea47679 commit 5bb5bef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auto_editor/render/audio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def mix_audio_files(sr: int, audio_paths: list[str], output_path: str) -> None:
272272
max_val = np.max(np.abs(mixed_audio))
273273
if max_val > 0:
274274
mixed_audio = mixed_audio * (32767 / max_val)
275-
mixed_audio = mixed_audio.astype(np.int16) # type: ignore
275+
mixed_audio = mixed_audio.astype(np.int16)
276276

277277
output_container = bv.open(output_path, mode="w")
278278
output_stream = output_container.add_stream("pcm_s16le", rate=sr)

0 commit comments

Comments
 (0)