gabriel / musehub public
fix ci main #50 / 70

fix(ci): use typed variable instead of cast for rate-limit handler

cast(Response, ...) triggered mypy's redundant-cast on CI (strict=true enables warn_unused_ignores and the type was already known on Python 3.11). Assigning to a result: Response variable annotation satisfies mypy on both Python 3.11 (CI) and 3.13 (local) without any cast or type: ignore.

G Gabriel Cardona <gabriel@tellurstori.com> · 6d ago Mar 17, 2026 · fa10300b · parent 974262e9
1
file changed
383
files in snapshot
Files Changed 383 in snapshot
~1

0 comments

No comments yet. Be the first to start the discussion.