diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ec6b11d3e..dddc97edd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -45,4 +45,6 @@ repos: - types-PyMySQL - types-tqdm - pandas-stubs - - numpy + # numpy>=2.2 stubs use PEP 695 `type` statements, which mypy rejects + # when type-checking against python_version 3.10 (the project floor). + - numpy<2.2