A recent mypy update started writing the .mypy_cache directory which we don't want under version control. The cache is only used by the experimental "mypy --incremental" mode which we don't use, but it is always written anyway.