Add clang-format to pre-commit config (#4583)

This commit is contained in:
Hongbo Xu
2025-03-20 00:50:19 +08:00
committed by GitHub
parent b6944f97a6
commit ba52fd1868

View File

@@ -26,6 +26,12 @@ repos:
rev: 24.10.0
hooks:
- id: black-jupyter
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v18.1.8
hooks:
- id: clang-format
types_or: [c++, cuda]
args: [--style=file, --verbose]
- repo: https://github.com/kynan/nbstripout
rev: 0.8.1
hooks: