Fix import ordering violations (ruff I001)
Reorder first-party imports in local_converter and local_chunker to satisfy isort rules: domain imports before infra imports.
This commit is contained in:
parent
a9299e2735
commit
503b7e8a40
2 changed files with 2 additions and 2 deletions
|
|
@ -15,8 +15,8 @@ from docling_core.transforms.chunker import HierarchicalChunker
|
||||||
from docling_core.transforms.chunker.hybrid_chunker import HybridChunker
|
from docling_core.transforms.chunker.hybrid_chunker import HybridChunker
|
||||||
from docling_core.types.doc.document import DoclingDocument
|
from docling_core.types.doc.document import DoclingDocument
|
||||||
|
|
||||||
from infra.bbox import EMPTY_BBOX, to_topleft_list
|
|
||||||
from domain.value_objects import ChunkBbox, ChunkingOptions, ChunkResult
|
from domain.value_objects import ChunkBbox, ChunkingOptions, ChunkResult
|
||||||
|
from infra.bbox import EMPTY_BBOX, to_topleft_list
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -35,13 +35,13 @@ from docling_core.types.doc import (
|
||||||
TitleItem,
|
TitleItem,
|
||||||
)
|
)
|
||||||
|
|
||||||
from infra.bbox import to_topleft_list
|
|
||||||
from domain.value_objects import (
|
from domain.value_objects import (
|
||||||
ConversionOptions,
|
ConversionOptions,
|
||||||
ConversionResult,
|
ConversionResult,
|
||||||
PageDetail,
|
PageDetail,
|
||||||
PageElement,
|
PageElement,
|
||||||
)
|
)
|
||||||
|
from infra.bbox import to_topleft_list
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue