11
11
12
12
13
13
def make_lowpass (
14
- frequency : int , samplerate : int , q_factor : float = 1 / sqrt (2 )
14
+ frequency : int , samplerate : int , q_factor : float = 1 / sqrt (2 ) # noqa: B008
15
15
) -> IIRFilter :
16
16
"""
17
17
Creates a low-pass filter
@@ -39,7 +39,7 @@ def make_lowpass(
39
39
40
40
41
41
def make_highpass (
42
- frequency : int , samplerate : int , q_factor : float = 1 / sqrt (2 )
42
+ frequency : int , samplerate : int , q_factor : float = 1 / sqrt (2 ) # noqa: B008
43
43
) -> IIRFilter :
44
44
"""
45
45
Creates a high-pass filter
@@ -67,7 +67,7 @@ def make_highpass(
67
67
68
68
69
69
def make_bandpass (
70
- frequency : int , samplerate : int , q_factor : float = 1 / sqrt (2 )
70
+ frequency : int , samplerate : int , q_factor : float = 1 / sqrt (2 ) # noqa: B008
71
71
) -> IIRFilter :
72
72
"""
73
73
Creates a band-pass filter
@@ -96,7 +96,7 @@ def make_bandpass(
96
96
97
97
98
98
def make_allpass (
99
- frequency : int , samplerate : int , q_factor : float = 1 / sqrt (2 )
99
+ frequency : int , samplerate : int , q_factor : float = 1 / sqrt (2 ) # noqa: B008
100
100
) -> IIRFilter :
101
101
"""
102
102
Creates an all-pass filter
@@ -121,7 +121,10 @@ def make_allpass(
121
121
122
122
123
123
def make_peak (
124
- frequency : int , samplerate : int , gain_db : float , q_factor : float = 1 / sqrt (2 )
124
+ frequency : int ,
125
+ samplerate : int ,
126
+ gain_db : float ,
127
+ q_factor : float = 1 / sqrt (2 ), # noqa: B008
125
128
) -> IIRFilter :
126
129
"""
127
130
Creates a peak filter
@@ -150,7 +153,10 @@ def make_peak(
150
153
151
154
152
155
def make_lowshelf (
153
- frequency : int , samplerate : int , gain_db : float , q_factor : float = 1 / sqrt (2 )
156
+ frequency : int ,
157
+ samplerate : int ,
158
+ gain_db : float ,
159
+ q_factor : float = 1 / sqrt (2 ), # noqa: B008
154
160
) -> IIRFilter :
155
161
"""
156
162
Creates a low-shelf filter
@@ -184,7 +190,10 @@ def make_lowshelf(
184
190
185
191
186
192
def make_highshelf (
187
- frequency : int , samplerate : int , gain_db : float , q_factor : float = 1 / sqrt (2 )
193
+ frequency : int ,
194
+ samplerate : int ,
195
+ gain_db : float ,
196
+ q_factor : float = 1 / sqrt (2 ), # noqa: B008
188
197
) -> IIRFilter :
189
198
"""
190
199
Creates a high-shelf filter
0 commit comments