forked from kenn-io/agentsview
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprek.toml
More file actions
31 lines (27 loc) · 645 Bytes
/
Copy pathprek.toml
File metadata and controls
31 lines (27 loc) · 645 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
minimum_prek_version = "0.3.6"
default_install_hook_types = ["pre-commit", "pre-push"]
default_stages = ["pre-commit"]
[[repos]]
repo = "local"
[[repos.hooks]]
id = "golangci-lint"
name = "golangci-lint"
language = "system"
entry = "make lint-golangci"
pass_filenames = false
always_run = true
[[repos.hooks]]
id = "nilaway"
name = "NilAway"
language = "system"
entry = "make nilaway"
stages = ["pre-push"]
types = ["go"]
pass_filenames = false
always_run = true
[[repos.hooks]]
id = "mdformat"
name = "mdformat"
language = "system"
entry = "uvx --from mdformat==0.7.22 --with mdformat-tables==1.0.0 mdformat --wrap 80"
types = ["markdown"]