"examples/pytorch/vscode:/vscode.git/clone" did not exist on "86cf154be928315cc33234b87bbeca6bbc006e68"
Unverified Commit ba52fd18 authored by Hongbo Xu's avatar Hongbo Xu Committed by GitHub
Browse files

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

parent b6944f97
...@@ -26,6 +26,12 @@ repos: ...@@ -26,6 +26,12 @@ repos:
rev: 24.10.0 rev: 24.10.0
hooks: hooks:
- id: black-jupyter - 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 - repo: https://github.com/kynan/nbstripout
rev: 0.8.1 rev: 0.8.1
hooks: hooks:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment