repos: - repo: https://github.com/pre-commit/mirrors-clang-format rev: v20.1.8 hooks: - id: clang-format files: ^(csrc/|torch-ext/).*\.(?:c|cc|cpp|cxx|h|hh|hpp|hxx|cu|cuh)$ args: [-i]