ci: pre-commit autoupdate and add C++ hook
Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
parent
94c49118db
commit
ebbb9edfb8
1 changed files with 4 additions and 2 deletions
|
@ -2,14 +2,16 @@
|
||||||
# See https://pre-commit.com/hooks.html for more hooks
|
# See https://pre-commit.com/hooks.html for more hooks
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.3.0
|
rev: v4.5.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
- id: check-yaml
|
- id: check-yaml
|
||||||
- id: check-added-large-files
|
- id: check-added-large-files
|
||||||
- repo: https://github.com/mfocko/pre-commit-hooks
|
- repo: https://github.com/mfocko/pre-commit-hooks
|
||||||
rev: main
|
rev: 1.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: rust-fmt
|
- id: rust-fmt
|
||||||
files: \.rs$
|
files: \.rs$
|
||||||
|
- id: clang-format
|
||||||
|
files: \.cpp$
|
||||||
|
|
Loading…
Reference in a new issue