diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 474916cf1a1..5ac1d1e3c3d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -48,9 +48,11 @@ repos: rev: v0.931 hooks: - id: mypy - # `properies` & `asv_bench` are copied from setup.cfg. - # `_typed_ops.py` is added since otherwise mypy will complain (but notably only in pre-commit) - exclude: "properties|asv_bench|_typed_ops.py" + # Copied from setup.cfg + exclude: "properties|asv_bench" + # This is slow and so we take it out of the fast-path; requires passing + # `--hook-stage manual` to pre-commit + stages: [manual] additional_dependencies: [ # Type stubs types-python-dateutil,