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
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.3.0
|
||||
rev: v4.5.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
- id: check-yaml
|
||||
- id: check-added-large-files
|
||||
- repo: https://github.com/mfocko/pre-commit-hooks
|
||||
rev: main
|
||||
rev: 1.0.0
|
||||
hooks:
|
||||
- id: rust-fmt
|
||||
files: \.rs$
|
||||
- id: clang-format
|
||||
files: \.cpp$
|
||||
|
|
Loading…
Reference in a new issue