-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathprek.toml
More file actions
64 lines (58 loc) · 1.32 KB
/
prek.toml
File metadata and controls
64 lines (58 loc) · 1.32 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#:schema https://www.schemastore.org/prek.json
minimum_prek_version = "0.3.8"
[[repos]]
repo = "builtin"
hooks = [
{ id = "end-of-file-fixer" },
{ id = "trailing-whitespace" },
{ id = "check-json" },
{ id = "check-toml" },
{ id = "check-yaml" },
{ id = "check-case-conflict" },
{ id = "mixed-line-ending" },
{ id = "check-added-large-files" },
{ id = "check-executables-have-shebangs" },
{ id = "check-symlinks" },
{ id = "detect-private-key" },
{ id = "check-vcs-permalinks" },
{ id = "check-shebang-scripts-are-executable" },
{ id = "check-illegal-windows-names" },
]
[[repos]]
repo = "https://github.com/rhysd/actionlint"
rev = "v1.7.8"
hooks = [
{ id = "actionlint" }
]
[[repos]]
repo = "https://github.com/astral-sh/ruff-pre-commit"
rev = "v0.14.5"
hooks = [
{ id = "ruff-format" },
{ id = "ruff-check" }
]
[[repos]]
repo = "https://github.com/glotzerlab/fix-license-header"
rev = "v0.4.1"
hooks = [
{
id = "fix-license-header",
name = "Fix license headers",
types_or = ["rust"],
args = [
"--license-file=LICENSE",
"--add=Part of row, released under the BSD 3-Clause License."
]
}
]
[[repos]]
repo = "https://github.com/mit-d/check-unicode"
rev = "v0.5.0"
hooks = [
{ id = "check-unicode",
args = [
"--allow-printable",
"--check-confusables",
]
}
]