From f7145aa6aa02f04efabe48666897196c729d93d8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 17 Jan 2024 08:06:36 +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/detection/line_counter.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/supervision/detection/line_counter.py b/supervision/detection/line_counter.py index a7e99cbc..960122e1 100644 --- a/supervision/detection/line_counter.py +++ b/supervision/detection/line_counter.py @@ -54,7 +54,9 @@ class LineZone: crossed_in = np.full(len(detections), False) crossed_out = np.full(len(detections), False) - for i, (xyxy, tracker_id) in enumerate(zip(detections.xyxy, detections.tracker_id)): + for i, (xyxy, tracker_id) in enumerate( + zip(detections.xyxy, detections.tracker_id) + ): if tracker_id is None: continue