2022-11-05 20:16:57 +00:00
|
|
|
default_stages: [commit]
|
2023-05-17 07:16:49 +00:00
|
|
|
exclude: |
|
|
|
|
(?x)(
|
|
|
|
src/redis/.* |
|
2023-09-24 14:40:13 +00:00
|
|
|
contrib/charts/dragonfly/ci/.* |
|
|
|
|
patches/.*
|
2023-05-17 07:16:49 +00:00
|
|
|
)
|
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
|
2023-07-17 10:13:12 +00:00
|
|
|
|
|
|
|
- repo: https://github.com/psf/black
|
|
|
|
rev: 23.7.0
|
|
|
|
hooks:
|
|
|
|
- id: black
|
2024-11-02 07:44:00 +00:00
|
|
|
|
|
|
|
- repo: https://github.com/gitleaks/gitleaks
|
|
|
|
rev: v8.16.3
|
|
|
|
hooks:
|
|
|
|
- id: gitleaks
|
|
|
|
|
|
|
|
|