Skip to content

Commit

Permalink
chore: update pre-commit config for clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
delhomer committed Oct 18, 2024
1 parent 2b8e8f0 commit 184bf33
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ repos:
rev: v16.0.2
hooks:
- id: clang-format
# args: [--style=file:/home/bde/prog/sfcgal/SFCGAL/.clang-format]
files: \.(c|h|cpp|hpp)$
args:
- --style=file:./.clang-format
- --files=src/.*\.(c|h|cpp|hpp)$
- --Werror

# - repo: https://github.com/pocc/pre-commit-hooks
# rev: v1.3.5
Expand Down

0 comments on commit 184bf33

Please sign in to comment.