Skip to content

Commit

Permalink
Mypy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nsomabalint committed Jul 15, 2024
1 parent 8985814 commit 8f8cebd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hun_date_parser/duration_parser/duration_parsers.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
from typing import List, TypedDict, Optional
from typing import TypedDict, Optional, Sequence
import re
from hun_date_parser.utils import DateTimePartConatiner, remove_accent, word_to_num, Minute
from hun_date_parser.date_parser.patterns import R_HOUR_MIN_D, R_HOUR_HOUR_D, R_HOUR_D


class DateParts(TypedDict):
match: str
date_parts: List[DateTimePartConatiner]
date_parts: Sequence[DateTimePartConatiner]


def convert_hour_to_minutes(hour_str: Optional[str]) -> float:
Expand Down

0 comments on commit 8f8cebd

Please sign in to comment.