Skip to content

Commit 05fece3

Browse files
committed
format
1 parent 196ec6b commit 05fece3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/interactive_sort/main.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ def month_sort_key(self, item: str) -> int:
5454
else:
5555
return 0
5656

57-
match: re.Match[str] | None = re.match(r"^(JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)\s*", text_to_check, re.IGNORECASE)
57+
match: re.Match[str] | None = re.match(
58+
r"^(JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)\s*", text_to_check, re.IGNORECASE
59+
)
5860
if match:
5961
return self.month_map.get(match.group(1).upper(), 0) # 0 for unknown
6062
return 0 # Treat lines without a month at the beginning as "unknown"

0 commit comments

Comments
 (0)