Skip to content

Commit

Permalink
fix for linter
Browse files Browse the repository at this point in the history
  • Loading branch information
DeltaDaniel committed Oct 8, 2024
1 parent 38894de commit 9b1af9b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/migmose/parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,9 @@ def parse_raw_nachrichtenstrukturzeile(input_path: Path) -> list[str]:


_pattern = re.compile(
r"MIG(?:Strom|Gas)?(?:-informatorischeLesefassung)?(?P<version>(?:S|G)?(?P<major>\d+)\.(?P<minor>\d+)(?P<suffix>[a-z]?))(?:_|KonsolidierteLesefassung|-AußerordentlicheVeröffentlichung)?",
r"MIG(?:Strom|Gas)?(?:-informatorischeLesefassung)?"
r"(?P<version>(?:S|G)?(?P<major>\d+)\.(?P<minor>\d+)(?P<suffix>[a-z]?))"
r"(?:_|KonsolidierteLesefassung|-AußerordentlicheVeröffentlichung)?",
re.IGNORECASE,
)

Expand Down

0 comments on commit 9b1af9b

Please sign in to comment.