From 0714dbbc337ad81d6f1dd4003fc7088a0222dba7 Mon Sep 17 00:00:00 2001 From: pyob-bot Date: Fri, 12 Jun 2026 03:40:01 +0000 Subject: [PATCH] Refactor: Add type hint to search_lines_cleaned in ApplyXMLMixin --- src/pyob/xml_mixin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: