-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
46 lines (46 loc) · 1.03 KB
/
.pre-commit-config.yaml
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
39
40
41
42
43
44
45
46
fail_fast: true
default_install_hook_types: [pre-commit, commit-msg, pre-push]
repos:
- repo: https://github.com/commitizen-tools/commitizen
rev: v2.42.1
hooks:
- id: commitizen
- id: commitizen-branch
stages: [push]
- repo: local
hooks:
- id: format
name: format
entry: make format
language: system
stages: [pre-commit]
- repo: local
hooks:
- id: lint
name: lint
entry: make lint
language: system
stages: [pre-commit]
- repo: local
hooks:
- id: security
name: security
entry: make security
language: system
stages: [pre-commit]
- repo: local
hooks:
- id: test
name: test
entry: make test
language: system
pass_filenames: false
stages: [pre-commit]
- repo: local
hooks:
- id: requirements
name: requirements
entry: make requirements
language: system
pass_filenames: false
stages: [pre-commit]