1
0
Fork 0
mirror of https://github.com/dragonflydb/dragonfly.git synced 2024-12-14 11:58:02 +00:00
dragonflydb-dragonfly/.pre-commit-config.yaml
Leonardo Mello e46e5819c9
ci: added clang pre-commit hook (#461)
Signed-off-by: Leonardo Mello <lsvmello@gmail.com>
2022-11-05 22:16:57 +02:00

21 lines
532 B
YAML

default_stages: [commit]
repos:
- repo: local
hooks:
- id: conventional-commits
name: Conventional Commit Minder
entry: contrib/scripts/conventional-commits
language: script
stages: [commit-msg]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- 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