diff options
| author | Jan Sucan <jan@jansucan.com> | 2020-12-25 12:49:10 +0100 |
|---|---|---|
| committer | Jan Sucan <jan@jansucan.com> | 2020-12-25 12:49:10 +0100 |
| commit | e4ebac4e4dd5b8bc9c86de11489b7f267bf48814 (patch) | |
| tree | 2869a98501f80598c34d3055474684006ed78652 /.pre-commit-config.yaml | |
| parent | 42c87a3dd2b926905db944ab7637d74db0d88ae6 (diff) | |
Add clang-format pre-commit hook
Diffstat (limited to '.pre-commit-config.yaml')
| -rw-r--r-- | .pre-commit-config.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0e16935..6f3cb11 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,3 +6,8 @@ repos: hooks: - id: trailing-whitespace - id: end-of-file-fixer +- repo: git://github.com/doublify/pre-commit-clang-format + rev: master + hooks: + - id: clang-format + args: [--style=file] |
