From fd038bccf50f3772a69ba734bbd06e0641519d55 Mon Sep 17 00:00:00 2001 From: Vladislav Sovrasov Date: Fri, 22 Nov 2024 08:56:18 +0900 Subject: [PATCH] Fix linter --- tests/unit/core/types/test_label.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/unit/core/types/test_label.py b/tests/unit/core/types/test_label.py index 8b853e4c4c..6789423494 100644 --- a/tests/unit/core/types/test_label.py +++ b/tests/unit/core/types/test_label.py @@ -20,7 +20,11 @@ def test_seg_label_info(): ["0", "1", "2"], [["label_0", "label_1", "label_2"]], ) - assert SegLabelInfo.from_num_classes(1) == SegLabelInfo(["background", "label_0"], ["0", "1"], [["background", "label_0"]]) + assert SegLabelInfo.from_num_classes(1) == SegLabelInfo( + ["background", "label_0"], + ["0", "1"], + [["background", "label_0"]], + ) assert SegLabelInfo.from_num_classes(0) == NullLabelInfo()