diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ddce44f3d5e..26a051fba07 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -94,7 +94,7 @@ repos: name: Check type annotations in python files entry: tools/ci/check_type_comments.py additional_dependencies: - - 'mypy' + - 'mypy<1.20.2' - 'mypy-extensions' - 'types-setuptools' - 'types-PyYAML'