🎨 style: fix pyright error

This commit is contained in:
SigureMo 2025-04-05 01:39:45 +08:00
parent e73ea31766
commit 087a7be0cc
No known key found for this signature in database
GPG Key ID: F99A3CD7BD76B247
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ def search_for_settings_file() -> Path | None:
def load_settings_file(settings_file: Path) -> YuttoSettings:
with settings_file.open("r", encoding="utf-8") as f:
settings_raw: Any = tomllib.loads(f.read()) # pyright: ignore[reportUnknownMemberType]
settings_raw: Any = tomllib.loads(f.read()) # pyright: ignore[reportUnknownMemberType, reportUnknownVariableType]
return YuttoSettings.model_validate(settings_raw)