TR2X/.pre-commit-config.yaml
2023-10-02 07:33:59 +02:00

15 lines
284 B
YAML

repos:
- repo: local
hooks:
- id: clang-format
name: clang-format
entry: clang-format
args: ["-style=file", "-i"]
language: system
files: \.[ch](pp)?$
- id: imports
name: imports
entry: tools/sort_imports
language: system
files: \.[ch](pp)?$