From e8388187836c1c29ebe2af5082d704406d88a93e Mon Sep 17 00:00:00 2001 From: Peter Staar Date: Tue, 27 May 2025 09:01:32 +0200 Subject: [PATCH] reformatted code Signed-off-by: Peter Staar --- docling/cli/main.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docling/cli/main.py b/docling/cli/main.py index 0457c234..3dd8256e 100644 --- a/docling/cli/main.py +++ b/docling/cli/main.py @@ -213,9 +213,11 @@ def export_documents( fw.write(ser_res.text) else: conv_res.document.save_as_html( - filename=fname, image_mode=image_export_mode, split_page_view=True + filename=fname, + image_mode=image_export_mode, + split_page_view=True, ) - + # Export Text format: if export_txt: fname = output_dir / f"{doc_filename}.txt" @@ -276,7 +278,8 @@ def convert( # noqa: C901 show_localization: Annotated[ bool, typer.Option( - ..., help="If enabled, the page images will show the bounding-boxes of the items." + ..., + help="If enabled, the page images will show the bounding-boxes of the items.", ), ] = False, headers: str = typer.Option(