diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d479a03b5b10..f340b1895381 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -146,7 +146,7 @@ repos: ?^python/pyarrow/vendored/| ) - repo: https://github.com/MarcoGorelli/cython-lint - rev: v0.16.2 + rev: v0.21.0 hooks: - id: cython-lint alias: python @@ -155,6 +155,10 @@ repos: - "--no-pycodestyle" files: >- ^python/ + # Pin Cython to 3.2.9 until cython-lint supports Cython 3.3: + # https://github.com/MarcoGorelli/cython-lint/issues/201 + additional_dependencies: + - Cython==3.2.9 - repo: https://github.com/pre-commit/mirrors-clang-format rev: v18.1.8 hooks: