mirror of
https://github.com/b4tman/sync_ics2gcal
synced 2025-12-16 08:02:39 +00:00
fix type errors
with mypy --strict
This commit is contained in:
@@ -14,7 +14,7 @@ ConfigDate = Union[str, datetime.datetime]
|
||||
def load_config() -> Dict[str, Any]:
|
||||
with open("config.yml", "r", encoding="utf-8") as f:
|
||||
result = yaml.safe_load(f)
|
||||
return result
|
||||
return result # type: ignore
|
||||
|
||||
|
||||
def get_start_date(date: ConfigDate) -> datetime.datetime:
|
||||
|
||||
Reference in New Issue
Block a user