diff --git a/src/pyob/xml_mixin.py b/src/pyob/xml_mixin.py index eb70fc4..d6511b9 100644 --- a/src/pyob/xml_mixin.py +++ b/src/pyob/xml_mixin.py @@ -271,7 +271,7 @@ def _attempt_regex_fuzzy_match( self, source: str, clean_search: str, replace: str ) -> tuple[str, bool]: try: - search_lines_cleaned = [ + search_lines_cleaned: list[str] = [ line.strip() for line in clean_search.split("\n") if line.strip() ] if not search_lines_cleaned: