From 04df220737edfa34ea83bf382f6d2e06ddb4f38e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 18 Aug 2023 10:48:19 +0000 Subject: [PATCH] =?UTF-8?q?fix(pre=5Fcommit):=20=F0=9F=8E=A8=20auto=20form?= =?UTF-8?q?at=20pre-commit=20hooks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supervision/dataset/formats/coco.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supervision/dataset/formats/coco.py b/supervision/dataset/formats/coco.py index 1159ceb4..66246395 100644 --- a/supervision/dataset/formats/coco.py +++ b/supervision/dataset/formats/coco.py @@ -202,7 +202,7 @@ def save_coco_annotations( image_id, annotation_id = 1, 1 for image_path, image in images.items(): image_height, image_width, _ = image.shape - image_name =f"{Path(image_path).stem}{Path(image_path).suffix}" + image_name = f"{Path(image_path).stem}{Path(image_path).suffix}" coco_image = { "id": image_id, "license": 1,