Add setup for pre-commit

This commit is contained in:
Joel Falcou 2025-10-22 20:30:22 +02:00
parent ebf24a19ce
commit d5c41bf43e

6
.pre-commit-config.yaml Normal file
View 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++]