From 8467b4ed5393136a7f69444d86ed7bde09c79719 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20Tr=C3=B6ger?= Date: Fri, 26 Sep 2025 01:10:07 +0200 Subject: [PATCH] Update functions.py --- src/functions.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/functions.py b/src/functions.py index 28cd638..60f3c59 100755 --- a/src/functions.py +++ b/src/functions.py @@ -2,7 +2,6 @@ import re import codecs -from typing import Literal import pdfplumber @@ -63,9 +62,7 @@ def convert_text(text: str, format_indents: bool = True): return "\n".join(changed_lines).strip() -def match_and_replace( - line: str, format_indents: bool = True, as_indent: bool = False -) -> str | Literal[True]: +def match_and_replace(line: str, format_indents: bool = True): if re.search(":$", line) is not None: return True if format_indents: