Skip to content

Commit 1cf9597

Browse files
fix(pre_commit): 🎨 auto format pre-commit hooks
1 parent 047489b commit 1cf9597

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

β€Žsupervision/annotators/core.pyβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@
99

1010
from supervision.annotators.base import BaseAnnotator, ImageType
1111
from supervision.annotators.utils import (
12+
PENDING_TRACK_ID,
1213
ColorLookup,
1314
Trace,
1415
resolve_color,
15-
resolve_text_background_xyxy, PENDING_TRACK_ID,
16+
resolve_text_background_xyxy,
1617
)
1718
from supervision.config import CLASS_NAME_DATA_FIELD, ORIENTED_BOX_COORDINATES
1819
from supervision.detection.core import Detections

β€Žsupervision/annotators/utils.pyβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
PENDING_TRACK_COLOR = Color.GREY
1111
PENDING_TRACK_ID = -1
1212

13+
1314
class ColorLookup(Enum):
1415
"""
1516
Enumeration class to define strategies for mapping colors to annotations.

β€Žsupervision/config.pyβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
CLASS_NAME_DATA_FIELD = "class_name"
2-
ORIENTED_BOX_COORDINATES = "xyxyxyxy"
2+
ORIENTED_BOX_COORDINATES = "xyxyxyxy"

0 commit comments

Comments
Β (0)