chore: clear typehinting errors

This commit is contained in:
aclist committed 2026-11-12 07:10:27 +09:00
1 parent 3e7b49203a
commit f7d95d5407
11 files changed
+99 -61

No files matched your search

+2
View File
@@ -27,6 +27,8 @@ def test_time_accel(details, key, expect) -> None:
def test_gametime(details: Details | None) -> None:
time_reg = r"^(0[0-9]|1[0-9]|2[0-3]):([0-5][0-9]$)"
if details is None:
raise ValueError
match = re.match(time_reg, details.gametime)
assert match is not None