forked from dragonflydb/dragonfly
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
38 lines (34 loc) · 842 Bytes
/
Copy path.pre-commit-config.yaml
File metadata and controls
38 lines (34 loc) · 842 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
default_stages: [pre-commit]
exclude: |
(?x)(
src/redis/.* |
src/huff/.* |
contrib/charts/dragonfly/ci/.* |
patches/.*
)
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
- repo: https://github.com/psf/black
rev: 25.1.0
hooks:
- id: black
- repo: https://github.com/gitleaks/gitleaks
rev: v8.16.3
hooks:
- id: gitleaks