Skip to content

Commit 2c9b0cf

Browse files
committed
Fix review issue
1 parent 45c084e commit 2c9b0cf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

audio_filters/show_response.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from __future__ import annotations
22

3+
from abc import abstractmethod
34
from math import pi
45
from typing import Protocol
56

@@ -8,14 +9,14 @@
89

910

1011
class FilterType(Protocol):
11-
def process(self, sample: float) -> float: # noqa: ARG002
12+
@abstractmethod
13+
def process(self, sample: float) -> float:
1214
"""
1315
Calculate y[n]
1416
1517
>>> issubclass(FilterType, Protocol)
1618
True
1719
"""
18-
return 0.0
1920

2021

2122
def get_bounds(

0 commit comments

Comments
 (0)