Skip to content

Commit

Permalink
Changed clang-format to use pre-commit included binary
Browse files Browse the repository at this point in the history
  • Loading branch information
Teddy-1000 committed Jan 15, 2024
1 parent 95d3c6e commit a7d5e7f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@ repos:
# language: script
# pass_filenames: false

- repo: https://github.com/pocc/pre-commit-hooks
rev: master
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: ""
hooks:
- id: clang-format
entry: clang-format -i
args: [--style=llvm]
types_or: [c++]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
Expand Down

0 comments on commit a7d5e7f

Please sign in to comment.