Update types packages (#149178)

This commit is contained in:
Marc Mueller 2025-07-21 13:33:04 +02:00 committed by GitHub
parent be25a7bc70
commit d774de79db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 6 deletions

View File

@ -5,7 +5,7 @@ from __future__ import annotations
from dataclasses import asdict, fields
import datetime
from math import floor
from typing import TYPE_CHECKING
from typing import TYPE_CHECKING, Literal
from dateutil.rrule import (
DAILY,
@ -56,7 +56,12 @@ def next_due_date(task: TaskData, today: datetime.datetime) -> datetime.date | N
return dt_util.as_local(task.nextDue[0]).date()
FREQUENCY_MAP = {"daily": DAILY, "weekly": WEEKLY, "monthly": MONTHLY, "yearly": YEARLY}
FREQUENCY_MAP: dict[str, Literal[0, 1, 2, 3]] = {
"daily": DAILY,
"weekly": WEEKLY,
"monthly": MONTHLY,
"yearly": YEARLY,
}
WEEKDAY_MAP = {"m": MO, "t": TU, "w": WE, "th": TH, "f": FR, "s": SA, "su": SU}

View File

@ -35,17 +35,17 @@ requests-mock==1.12.1
respx==0.22.0
syrupy==4.9.1
tqdm==4.67.1
types-aiofiles==24.1.0.20250606
types-aiofiles==24.1.0.20250708
types-atomicwrites==1.4.5.1
types-croniter==6.0.0.20250411
types-croniter==6.0.0.20250626
types-caldav==1.3.0.20250516
types-chardet==0.1.5
types-decorator==5.2.0.20250324
types-pexpect==4.9.0.20250516
types-protobuf==6.30.2.20250516
types-protobuf==6.30.2.20250703
types-psutil==7.0.0.20250601
types-pyserial==3.5.0.20250326
types-python-dateutil==2.9.0.20250516
types-python-dateutil==2.9.0.20250708
types-python-slugify==8.0.2.20240310
types-pytz==2025.2.0.20250516
types-PyYAML==6.0.12.20250516