From ed851169a22e1805922d6acc51717d8dd14bcda4 Mon Sep 17 00:00:00 2001 From: MahmoudAshraf97 Date: Wed, 13 Nov 2024 17:50:53 +0200 Subject: [PATCH] flake8 fix --- faster_whisper/feature_extractor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/faster_whisper/feature_extractor.py b/faster_whisper/feature_extractor.py index bea5981e..cfa3aee2 100644 --- a/faster_whisper/feature_extractor.py +++ b/faster_whisper/feature_extractor.py @@ -97,7 +97,8 @@ def stft( # Input checks if not np.issubdtype(input_array.dtype, np.floating) and not input_is_complex: raise ValueError( - f"stft: expected an array of floating point or complex values, got {input_array.dtype}" + "stft: expected an array of floating point or complex values," + f" got {input_array.dtype}" ) if input_array.ndim > 2 or input_array.ndim < 1: