Skip to content

Commit

Permalink
test: fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
christinestraub committed Aug 4, 2024
1 parent 06b7f43 commit e35416b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions test_unstructured/partition/pdf_image/test_inference_utils.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
from unstructured_inference.inference.elements import TextRegion, ImageTextRegion
from unstructured_inference.inference.elements import ImageTextRegion, TextRegion
from unstructured_inference.inference.layoutelement import LayoutElement

from unstructured.documents.elements import ElementType
from unstructured.partition.pdf_image.inference_utils import (
build_layout_elements_from_ocr_regions,
merge_text_regions, merge_embedded_overlapping_regions,
merge_embedded_overlapping_regions,
merge_text_regions,
)


Expand Down
2 changes: 1 addition & 1 deletion unstructured/partition/pdf_image/inference_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from typing import TYPE_CHECKING, Optional

from unstructured_inference.constants import Source
from unstructured_inference.inference.elements import TextRegion, ImageTextRegion
from unstructured_inference.inference.elements import ImageTextRegion, TextRegion
from unstructured_inference.inference.layoutelement import (
LayoutElement,
partition_groups_from_regions,
Expand Down

0 comments on commit e35416b

Please sign in to comment.