Mypy checks are currently incorrectly failing in Python 3.10.7 (see https://github.com/python/mypy/issues/13627), so I've disabled these checks for Python 3.10 in #597. Once a new version of mypy is released, these checks should be reenabled