From fb7beff170547c57e325d6cd54d913f9ef0d5183 Mon Sep 17 00:00:00 2001 From: Aviral Bhardwaj <152312896+aviralbhardwaj007@users.noreply.github.com> Date: Mon, 16 Dec 2024 20:45:19 +0530 Subject: [PATCH] removed args as it is not fixing in pycharm, fixed args alignment --- src/markitdown/_markitdown.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/markitdown/_markitdown.py b/src/markitdown/_markitdown.py index ced12bb..0ad8401 100644 --- a/src/markitdown/_markitdown.py +++ b/src/markitdown/_markitdown.py @@ -504,13 +504,6 @@ 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. - """ extension = kwargs.get("file_extension", "") if extension.lower() != ".doc": return None