-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
32 lines (31 loc) · 779 Bytes
/
.pre-commit-config.yaml
File metadata and controls
32 lines (31 loc) · 779 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
exclude: '^$'
fail_fast: true
repos:
# License header enforcement
- repo: local
hooks:
- id: license
name: add license headers
entry: bash -lc 'license'
language: system
pass_filenames: false
stages: [pre-commit]
- repo: https://github.com/mrtazz/checkmake.git
rev: 0.2.2
hooks:
- id: checkmake
exclude: ^templates/
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-json
- id: check-merge-conflict
- id: check-yaml
- id: end-of-file-fixer
- id: check-symlinks
- repo: https://github.com/commitizen-tools/commitizen
rev: v4.8.3
hooks:
- id: commitizen
- id: commitizen-branch
stages: [pre-push]