Skip to content

Commit

Permalink
style: apply automated linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
megalinter-bot committed Jul 15, 2024
1 parent f8646c3 commit 4b70549
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/safeds/ml/nn/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,10 @@ def test_should_raise_when_fitting_by_exhaustive_search_without_choice(self, dev
ids=["accuracy", "precision", "recall", "f1_score"],
)
def test_should_assert_that_is_fitted_is_set_correctly_and_check_return_type(
self, metric: Literal["accuracy", "precision", "recall", "f1_score"], positive_class: Any, device: Device,
self,
metric: Literal["accuracy", "precision", "recall", "f1_score"],
positive_class: Any,
device: Device,
) -> None:
model = NeuralNetworkClassifier(InputConversionTable(), [ForwardLayer(Choice(2, 4)), ForwardLayer(1)])
assert not model.is_fitted
Expand Down

0 comments on commit 4b70549

Please sign in to comment.