Run `mypy` as part of the lint.sh script.