-
-
Notifications
You must be signed in to change notification settings - Fork 426
Expand file tree
/
Copy pathprek.toml
More file actions
37 lines (34 loc) · 665 Bytes
/
prek.toml
File metadata and controls
37 lines (34 loc) · 665 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
#:schema https://www.schemastore.org/prek.json
[[repos]]
repo = "https://github.com/pre-commit/pre-commit-hooks"
rev = "v4.4.0"
hooks = [
{
id = "trailing-whitespace",
exclude = "^tests/.*/fixtures/.*"
},
{
id = "end-of-file-fixer",
exclude = "^tests/.*/fixtures/.*"
},
{ id = "debug-statements" }
]
[[repos]]
repo = "https://github.com/astral-sh/ruff-pre-commit"
rev = "v0.14.11"
hooks = [
{ id = "ruff-check" },
{ id = "ruff-format" }
]
[[repos]]
repo = "local"
hooks = [
{
id = "lint-rust",
name = "Lint Rust",
entry = "make lint-rust",
types = ["rust"],
language = "rust",
pass_filenames = false
}
]