Skip to content

πŸŽ› πŸ”Š A Python library for audio.

Re-ran black.

Peter Sobot62425ddf2c9d
diff --git a/pedalboard/pedalboard.py b/pedalboard/pedalboard.py
index d7b792e..86dee68 100644
--- a/pedalboard/pedalboard.py
+++ b/pedalboard/pedalboard.py
@@ -628,7 +628,6 @@ try:
super().__init__(path_to_plugin_file)
self.__set_initial_parameter_values__(parameter_values)
-
except ImportError:
# We may be on a system that doesn't have native VST3Plugin support.
pass
@@ -645,7 +644,6 @@ try:
super().__init__(path_to_plugin_file)
self.__set_initial_parameter_values__(parameter_values)
-
except ImportError:
# We may be on a system that doesn't have native AudioUnitPlugin support.
# (i.e.: any platform that's not macOS.)
diff --git a/tests/test_filters.py b/tests/test_filters.py
index 55627e4..c12a659 100644
--- a/tests/test_filters.py
+++ b/tests/test_filters.py
@@ -21,7 +21,7 @@ from pedalboard import HighpassFilter, LowpassFilter
def rms(x: np.ndarray) -> float:
- return np.sqrt(np.mean(x ** 2))
+ return np.sqrt(np.mean(x**2))
def normalized(x: np.ndarray) -> np.ndarray: