Add mypy job to CI
Add a job to the CI that runs mypy. The job shall be allowed to fail ([`allow_failure`](https://docs.gitlab.com/ee/ci/yaml/#allow_failure)).
issue