Skip to content

Commit 8a9dc9a

Browse files
fix(pre_commit): 🎨 auto format pre-commit hooks
1 parent 5c08cb7 commit 8a9dc9a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

roboflow/core/workspace.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
from roboflow.util.two_stage_utils import ocr_infer
2222
from roboflow.util.versions import normalize_yolo_model_type
2323

24+
2425
class Workspace:
2526
"""
2627
Manage a Roboflow workspace.

roboflow/util/versions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ def _wrapper(*args, **kwargs):
9090

9191
return _inner
9292

93+
9394
def normalize_yolo_model_type(model_type: str) -> str:
9495
model_type = model_type.replace("yolo11", "yolov11")
9596
model_type = model_type.replace("yolo12", "yolov12")
96-
return model_type
97+
return model_type

0 commit comments

Comments
 (0)