Mypy isn't running in CI, so a number (200+) issues have snuck in lets gradually fix them and enable mypy in ci