-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
47 lines (47 loc) · 1.31 KB
/
.pre-commit-config.yaml
File metadata and controls
47 lines (47 loc) · 1.31 KB
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
repos:
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v4.3.0
hooks:
- id: conventional-pre-commit
name: codex conventional commit check
stages: [commit-msg]
args:
- --strict
- --verbose
- --scopes
- ci,codex,config,context,core,nvim,project,providers,state
- chore
- docs
- enhance
- feat
- fix
- refactor
- release
- test
- repo: local
hooks:
- id: codex-fmt-check
name: codex fmt-check
entry: mise exec -- just fmt-check
language: system
pass_filenames: false
- id: codex-lint
name: codex lint
entry: mise exec -- just lint
language: system
pass_filenames: false
- id: codex-md-fmt-check
name: codex md-fmt-check
entry: mise exec -- mdformat --number --check doc/ README.md
language: system
pass_filenames: false
- id: codex-test-unit
name: codex test-unit
entry: mise exec -- just test-unit
language: system
pass_filenames: false
- id: codex-test-contract
name: codex test-contract
entry: mise exec -- just test-contract
language: system
pass_filenames: false