You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Achieve 0 mypy errors in strict mode across 54 source files without
disabling checks. Fix real bugs found during type analysis: None-safety
on .value calls, abstraction leak via _get_conn() in vault.py, missing
Protocol methods for collections and provenance in PostgreSQL backend.
Key changes:
- Add store_collection/list_collections to StorageBackend Protocol
- Implement missing provenance + collection methods in PostgreSQL backend
- Replace _get_conn() direct access with proper Protocol delegation
- Add cast() to sync Vault wrappers for type safety
- Fix None checks before .value access in resource_manager/search_engine
- Configure mypy overrides for optional dependency modules
- Remove continue-on-error from CI typecheck (now mandatory)
- Clean up redundant type: ignore comments (handled by overrides)
Verified: ruff 0 errors, mypy strict 0 errors, 518 tests passing.
0 commit comments