We initially setup mypy to be a pre-commit hook. We then turned it off as fixing mypy on a pre-existing project is an absolute nightmare.
However, for 3.0.0 onwards we do want mypy checking enabled, so we are going to have to bite the bullet and fix all the errors. Once this is done, we should reenable mypy as a pre-commit hook to enforce consistent typing going forward.
We initially setup
mypy
to be a pre-commit hook. We then turned it off as fixingmypy
on a pre-existing project is an absolute nightmare.However, for 3.0.0 onwards we do want
mypy
checking enabled, so we are going to have to bite the bullet and fix all the errors. Once this is done, we should reenablemypy
as a pre-commit hook to enforce consistent typing going forward.