2022-11-05 20:16:57 +00:00
|
|
|
default_stages: [commit]
|
2022-11-17 18:41:33 +00:00
|
|
|
exclude: 'src\/redis\/.*'
|
2022-06-12 05:21:40 +00:00
|
|
|
repos:
|
|
|
|
- repo: local
|
|
|
|
hooks:
|
|
|
|
- id: conventional-commits
|
|
|
|
name: Conventional Commit Minder
|
|
|
|
entry: contrib/scripts/conventional-commits
|
|
|
|
language: script
|
2022-07-08 07:23:46 +00:00
|
|
|
stages: [commit-msg]
|
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v4.3.0
|
|
|
|
hooks:
|
2022-11-05 20:16:57 +00:00
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-clang-format
|
|
|
|
rev: v14.0.6
|
|
|
|
hooks:
|
|
|
|
- id: clang-format
|
|
|
|
name: Clang formatting
|