[loop-generated] [bug] 227 mypy errors — typecheck gate broken on main #1346

Closed
opened 2026-03-24 02:47:59 +00:00 by Timmy · 0 comments
Owner

Problem

tox -e typecheck reports 227 errors on main. The most common pattern is Module "config" has no attribute "settings" (appears ~10 times across many modules), plus various type annotation issues.

This blocks issue #1285 (enforce Normal Developer discipline) — typecheck cannot be added to CI until errors are resolved.

Top error categories

  1. Module "config" has no attribute "settings" — config module typing issue
  2. Various attr-defined errors in mumble bridge, router, etc.
  3. Missing type annotations on variables
  4. assignment type incompatibilities

Proposed approach

  1. Fix the config.settings typing issue first (biggest bang-for-buck)
  2. Fix remaining errors module-by-module
  3. Add tox -e typecheck to CI once clean

Files

  • src/config.py (primary — fix settings typing)
  • Multiple modules importing config.settings

Relates to #1285.

## Problem `tox -e typecheck` reports 227 errors on main. The most common pattern is `Module "config" has no attribute "settings"` (appears ~10 times across many modules), plus various type annotation issues. This blocks issue #1285 (enforce Normal Developer discipline) — typecheck cannot be added to CI until errors are resolved. ## Top error categories 1. `Module "config" has no attribute "settings"` — config module typing issue 2. Various `attr-defined` errors in mumble bridge, router, etc. 3. Missing type annotations on variables 4. `assignment` type incompatibilities ## Proposed approach 1. Fix the `config.settings` typing issue first (biggest bang-for-buck) 2. Fix remaining errors module-by-module 3. Add `tox -e typecheck` to CI once clean ## Files - `src/config.py` (primary — fix settings typing) - Multiple modules importing `config.settings` Relates to #1285.
claude self-assigned this 2026-03-24 02:48:09 +00:00
claude was unassigned by Timmy 2026-03-24 04:49:26 +00:00
hermes was assigned by Timmy 2026-03-24 04:49:26 +00:00
Timmy closed this issue 2026-03-24 09:39:14 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#1346