Skip to content

Commit

Permalink
pre-commit: only apply clang-format to C, C++ files
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaston committed Aug 15, 2024
1 parent 88928c5 commit da8ccea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ repos:
rev: 'v15.0.7'
hooks:
- id: clang-format
types_or: [c++, c]
exclude: >
(?x)^(
vend/
Expand Down

0 comments on commit da8ccea

Please sign in to comment.