From e65c225be4b570ddab7e92fe68532c7eeb34b17a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 26 Nov 2024 16:01:55 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/test_evaluation_metrics.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_evaluation_metrics.py b/tests/test_evaluation_metrics.py index 434bf40..aaab4ba 100644 --- a/tests/test_evaluation_metrics.py +++ b/tests/test_evaluation_metrics.py @@ -394,7 +394,9 @@ def test_precision_recall_fscore__invalid_average(self, n_classes: int) -> None: invalid_averages = ["invalid_average", 1, True, 0.01234] for invalid_average in invalid_averages: with pytest.raises(ValueError): - evaluation_metrics.precision_recall_fscore(confusion_matrix, average=invalid_average) + evaluation_metrics.precision_recall_fscore( + confusion_matrix, average=invalid_average + ) def test_precision_score(self, n_classes: int) -> None: """