Commit Graph

2 Commits

Author SHA1 Message Date
9022b17186 fix: Pylance errors in gtksettings.py + pyrightconfig venv path
- str() wrap float config values passed to _entry() (min_speech_seconds,
  silence_rms, wakeword_silence_seconds) — type error + runtime safety
- Guard m.group() calls after re.match() with 'if m:' — m can be None
- Fix _bench_done: guard 'acc' None check alongside 'fastest'
- Fix wakeword_bench.run() call: pass engines as first positional arg,
  remove invalid wakeword_model/wakeword_uri kwargs
- gi.repository import: add type: ignore[import-untyped] to suppress
  Pylance false positives from missing C-extension stubs
- pyrightconfig.json: point venv to linux/.venv so numpy resolves;
  add reportMissingModuleSource=none for stub-less system packages

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-09 16:02:07 +02:00
5ad4e92a73 Add UI screenshots and pyright config
Add Screenshots/ (panel + settings tabs: engines, input, general, benchmark,
about) for documentation, and pyrightconfig.json pointing the type checker at
the system dist-packages so it resolves PyGObject (gi).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-06 09:59:10 +02:00