-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move clang-format checks to pre-commit
This will make them significantly easier for users to use, as well as easier to migrate to future versions.
- Loading branch information
1 parent
99a341e
commit 942cd8f
Showing
3 changed files
with
24 additions
and
50 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/mirrors-clang-format | ||
rev: v10.0.1 | ||
hooks: | ||
- id: clang-format | ||
types_or: [file] | ||
files: \.(cpp|hpp|ipp|cu|cuh|sycl|hip)$ |