Skip to content

Commit

Permalink
[CI] Use clangformat hhok and don't install it manually
Browse files Browse the repository at this point in the history
  • Loading branch information
destogl authored May 1, 2023
1 parent 0be5b91 commit 4464c1d
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,10 @@ repos:
args: ["--extend-ignore=E501"]

# CPP hooks
- repo: local
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v14.0.6
hooks:
- id: clang-format
name: clang-format
description: Format files with ClangFormat.
entry: clang-format-14
language: system
files: \.(c|cc|cxx|cpp|frag|glsl|h|hpp|hxx|ih|ispc|ipp|java|js|m|proto|vert)$
args: ['-fallback-style=none', '-i']

- repo: local
hooks:
Expand Down

0 comments on commit 4464c1d

Please sign in to comment.