Skip to content

Commit

Permalink
Remove extra blank lines from split_date_boxes overloads in data_clea…
Browse files Browse the repository at this point in the history
…n_utils.py
  • Loading branch information
Paethon committed Apr 29, 2024
1 parent 0dfdfac commit 17e7c0f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ocr_wrapper/data_clean_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,8 @@

@overload
def split_date_boxes(bboxes: list[BBox], confidences: None = None) -> list[BBox]: ...


@overload
def split_date_boxes(bboxes: list[BBox], confidences: list[float]) -> tuple[list[BBox], list[float]]: ...


def split_date_boxes(bboxes, confidences=None):
"""
Splits date boxes that contain a date range of the format "dd/mm/yyyy - dd/mm/yyyy" into three separate boxes.
Expand Down

0 comments on commit 17e7c0f

Please sign in to comment.