Skip to content

Commit ad8dbcf

Browse files
Fix ruff issues in IIRFilter doctest
1 parent b1c2a40 commit ad8dbcf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

audio_filters/iir_filter.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ def set_coefficients(self, a_coeffs: list[float], b_coeffs: list[float]) -> None
4646
4747
>>> # Make a 2nd-order 1000Hz butterworth lowpass filter (SciPy optional)
4848
>>> import scipy.signal # doctest: +SKIP
49-
>>> b_coeffs, a_coeffs = scipy.signal.butter(2, 1000, btype='lowpass', fs=48000) # doctest: +SKIP
49+
>>> b_coeffs, a_coeffs = scipy.signal.butter( # doctest: +SKIP
50+
... 2, 1000, btype="lowpass", fs=48000
51+
... )
5052
>>> filt = IIRFilter(2) # doctest: +SKIP
5153
>>> filt.set_coefficients(a_coeffs, b_coeffs) # doctest: +SKIP
5254

0 commit comments

Comments
 (0)