-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
56 lines (56 loc) · 1.24 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
47
48
49
50
51
52
53
54
55
56
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: poetry-export
name: requirements
entry: poetry export
args:
[
"-f",
"requirements.txt",
"-o",
"requirements.txt",
"--with",
"dev",
"--without-hashes",
]
language: system
pass_filenames: false
stages: [pre-commit]