routemaster
routemaster copied to clipboard
Move to using the sqlalchemy mypy plugin
This provides better type checking against the sqlalchemy code and allows us to remove our stubs and the type: ignores which were in various places where the stubs didn't match reality.
Included here for now are some related refactors which this highlighted, though they should probably be hoisted to separate PRs.