Skip to content

Commit d8409da

Browse files
committed
chore: migrate prek config to toml format
1 parent 21cacdb commit d8409da

2 files changed

Lines changed: 19 additions & 15 deletions

File tree

.pre-commit-config.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

prek.toml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
fail_fast = true
2+
3+
[[repos]]
4+
repo = "local"
5+
6+
[[repos.hooks]]
7+
id = "custom-commit-msg"
8+
name = "Validate commit message format"
9+
entry = "scripts/githooks/commit-msg"
10+
language = "system"
11+
stages = ["commit-msg"]
12+
13+
[[repos.hooks]]
14+
id = "pre-push-checks"
15+
name = "Run quality checks and tests"
16+
entry = "scripts/githooks/pre-push"
17+
language = "system"
18+
stages = ["pre-push"]
19+
pass_filenames = false

0 commit comments

Comments
 (0)