Add setup for pre-commit
This commit is contained in:
parent
ebf24a19ce
commit
d5c41bf43e
1 changed files with 6 additions and 0 deletions
6
.pre-commit-config.yaml
Normal file
6
.pre-commit-config.yaml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
repos:
|
||||
- repo: https://github.com/pre-commit/mirrors-clang-format
|
||||
rev: v19.1.7
|
||||
hooks:
|
||||
- id: clang-format
|
||||
types_or: [c++]
|
||||
Loading…
Add table
Add a link
Reference in a new issue