CORS Fixed + black and ruff fixes

This commit is contained in:
Yûki VACHOT 2025-12-01 02:55:47 +01:00
parent 5e2f6078a1
commit 3844ffc207
30 changed files with 85 additions and 114 deletions

View file

@ -1,7 +1,6 @@
"""DailyChallenge-related data models."""
from dataclasses import dataclass, field
from typing import Optional
@dataclass
@ -13,7 +12,7 @@ class DailyChallenge:
date: str = ""
time_limit: int = 0
completed: bool = False
score: Optional[int] = None
score: int | None = None
raw_data: dict = field(default_factory=dict)
@classmethod