From c2cb72122b1cc46c59f3a660cecdbb89f11331b9 Mon Sep 17 00:00:00 2001 From: Aviral Bhardwaj <152312896+aviralbhardwaj007@users.noreply.github.com> Date: Mon, 16 Dec 2024 19:39:10 +0530 Subject: [PATCH] fixed args alignment --- src/markitdown/_markitdown.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/markitdown/_markitdown.py b/src/markitdown/_markitdown.py index 5085e90..ced12bb 100644 --- a/src/markitdown/_markitdown.py +++ b/src/markitdown/_markitdown.py @@ -505,11 +505,11 @@ class DocConverter(HtmlConverter): def convert(self, local_path, **kwargs) -> Union[None, DocumentConverterResult]: """ - Args: - local_path (str): The path to the DOC file. - **kwargs: Additional arguments that may include 'file_extension'. - Returns: - Union[None, DocumentConverterResult]: The conversion result or None if the file is not a DOC. + Args: + local_path (str): The path to the DOC file. + **kwargs: Additional arguments that may include 'file_extension'. + Returns:Union[None, DocumentConverterResult]: The conversion result + or None if the file is not a DOC. """ extension = kwargs.get("file_extension", "") if extension.lower() != ".doc":