-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathprek.toml
More file actions
45 lines (39 loc) · 843 Bytes
/
prek.toml
File metadata and controls
45 lines (39 loc) · 843 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#:schema https://www.schemastore.org/prek.json
minimum_prek_version = "0.3.4"
[[repos]]
repo = "builtin"
hooks = [
{id = "check-executables-have-shebangs"},
{id = "check-json"},
{id = "check-toml"},
{id = "check-yaml"},
{id = "detect-private-key"},
{id = "end-of-file-fixer"},
{id = "mixed-line-ending"},
{id = "trailing-whitespace"},
]
[[repos]]
repo = "https://github.com/fsfe/reuse-tool"
rev = "v6.2.0"
hooks = [{id = "reuse-lint-file"}]
[[repos]]
repo = "local"
[[repos.hooks]]
entry = "shellcheck"
id = "shellcheck"
language = "system"
name = "shell check"
types = ["shell"]
[[repos.hooks]]
entry = "shfmt --diff"
id = "shellformat"
language = "system"
name = "shell format"
types = ["shell"]
[[repos.hooks]]
entry = "make test"
id = "test"
language = "system"
name = "test"
always_run = true
pass_filenames = false