From b867968a1083c5f92fd2a3ff329d8bb62b46df7a Mon Sep 17 00:00:00 2001 From: rafaelpadilla Date: Sun, 6 Jul 2025 03:33:30 +0000 Subject: [PATCH] breaking long lines, preventing E501. --- test/dataset/formats/test_coco.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/test/dataset/formats/test_coco.py b/test/dataset/formats/test_coco.py index 7c935a49..b8f53461 100644 --- a/test/dataset/formats/test_coco.py +++ b/test/dataset/formats/test_coco.py @@ -162,7 +162,8 @@ def test_group_coco_annotations_by_image_id( @pytest.mark.parametrize( - "image_annotations, resolution_wh, with_masks, use_iscrowd, expected_result, exception", + "image_annotations, resolution_wh, with_masks, use_iscrowd, " + "expected_result, exception", [ ( [], @@ -479,7 +480,8 @@ def test_group_coco_annotations_by_image_id( }, ), DoesNotRaise(), - ), # two image annotations with mask, one mask as polygon with iscrowd, and second as RLE without iscrowd + ), # two image annotations with mask, one mask as polygon with iscrowd, + # and second as RLE without iscrowd ( [ mock_coco_annotation( @@ -575,7 +577,8 @@ def test_group_coco_annotations_by_image_id( }, ), DoesNotRaise(), - ), # two image annotations with mask, first mask as RLE with is crowd, and second as polygon without iscrowd + ), # two image annotations with mask, first mask as RLE with is crowd, + # and second as polygon without iscrowd ], ) def test_coco_annotations_to_detections(