mirror of
https://github.com/debpalash/VoiceStudio.git
synced 2026-12-04 01:18:16 +00:00
* ci(python): gate Ruff and ty on the rules the code already passes Ruff and ty are pinned in the dev group (never installed for users: the app syncs with --no-dev and Docker installs without groups). CI's first Python shard and `bun run lint:py` run the same checks. - Ruff checks runtime-bug rules: syntax, undefined names and exports, f-strings without fields, invalid characters, dropped asyncio tasks. - ty fails on any rule the code passes today; the 23 rules with a backlog warn, so new instances of every other rule fail CI. Fixes what the rules found: - The setup warmup task was not referenced and could be garbage-collected mid-load; it is now held until it finishes. - A perf-budget test fake called time.sleep without importing time. - The scam guard's invisible-character class is written as escapes. - Type-only names (httpx, Callable) are imported under TYPE_CHECKING. * changelog: add fragment for #4614 * build(python): let lint:py sync the pinned tools before running them