This is what we ended up using with mypy so we could add type checks to our CI without having to fix every single typing error:
https://github.com/orsinium-labs/mypy-baseline