diff --git a/src/safeds/ml/nn/layers/_forward_layer.py b/src/safeds/ml/nn/layers/_forward_layer.py index 1252fb39c..13478943b 100644 --- a/src/safeds/ml/nn/layers/_forward_layer.py +++ b/src/safeds/ml/nn/layers/_forward_layer.py @@ -33,7 +33,11 @@ class ForwardLayer(Layer): If the given activation function does not exist """ - def __init__(self, neuron_count: int | Choice[int], overwrite_activation_function: Literal["sigmoid", "relu", "softmax", "none", "notset"] = "notset") -> None: + def __init__( + self, + neuron_count: int | Choice[int], + overwrite_activation_function: Literal["sigmoid", "relu", "softmax", "none", "notset"] = "notset", + ) -> None: if isinstance(neuron_count, Choice): for val in neuron_count: _check_bounds("neuron_count", val, lower_bound=_ClosedBound(1)) diff --git a/tests/safeds/data/tabular/plotting/test_moving_average_plot.py b/tests/safeds/data/tabular/plotting/test_moving_average_plot.py index f0ea1a711..b99855108 100644 --- a/tests/safeds/data/tabular/plotting/test_moving_average_plot.py +++ b/tests/safeds/data/tabular/plotting/test_moving_average_plot.py @@ -57,7 +57,6 @@ datetime.date(2022, 1, 15), datetime.date(2022, 1, 16), datetime.date(2022, 1, 17), - ], "A": [10, 5, 20, 2, 15, 1, 10, 5, 20], },