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: