Skip to content

Commit

Permalink
Add .pre-commit-config.yaml
Browse files Browse the repository at this point in the history
Same file from OpenDigitizer

Signed-off-by: Daniel Nicoletti <[email protected]>
  • Loading branch information
dantti authored and wirew0rm committed Nov 1, 2024
1 parent 6dc7fd5 commit f13fbba
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
exclude: ^(cmake/)
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v18.1.8
hooks:
- id: clang-format

0 comments on commit f13fbba

Please sign in to comment.