1
0
Fork 0
mirror of https://gitlab.com/mfocko/LeetCode.git synced 2024-09-19 17:56:55 +02:00

ci: pre-commit autoupdate and add C++ hook

Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
Matej Focko 2024-02-21 23:44:34 +01:00
parent 94c49118db
commit ebbb9edfb8
Signed by: mfocko
GPG key ID: 7C47D46246790496

View file

@ -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$