Skip to content

Commit

Permalink
Switch to pre-commit to enforce formatting
Browse files Browse the repository at this point in the history
Do not use the old uncrustify hook anymore.

Signed-off-by: Frank Lichtenheld <[email protected]>
  • Loading branch information
flichtenheld committed Jan 20, 2025
1 parent dd34433 commit 48581fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 161 deletions.
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
repos:
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: 'v19.1.4'
hooks:
- id: clang-format
files: \.[ch]$
161 changes: 0 additions & 161 deletions dev-tools/git-pre-commit-uncrustify.sh

This file was deleted.

0 comments on commit 48581fe

Please sign in to comment.