From 9b1af9bedbf3a35ea99abe307217b9551df1762e Mon Sep 17 00:00:00 2001 From: DeltaDaniel <139119540+DeltaDaniel@users.noreply.github.com> Date: Tue, 8 Oct 2024 15:38:50 +0200 Subject: [PATCH] fix for linter --- src/migmose/parsing.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/migmose/parsing.py b/src/migmose/parsing.py index e999b54..5d34710 100644 --- a/src/migmose/parsing.py +++ b/src/migmose/parsing.py @@ -156,7 +156,9 @@ def parse_raw_nachrichtenstrukturzeile(input_path: Path) -> list[str]: _pattern = re.compile( - r"MIG(?:Strom|Gas)?(?:-informatorischeLesefassung)?(?P(?:S|G)?(?P\d+)\.(?P\d+)(?P[a-z]?))(?:_|KonsolidierteLesefassung|-AußerordentlicheVeröffentlichung)?", + r"MIG(?:Strom|Gas)?(?:-informatorischeLesefassung)?" + r"(?P(?:S|G)?(?P\d+)\.(?P\d+)(?P[a-z]?))" + r"(?:_|KonsolidierteLesefassung|-AußerordentlicheVeröffentlichung)?", re.IGNORECASE, )