-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathprek.toml
More file actions
29 lines (26 loc) · 847 Bytes
/
Copy pathprek.toml
File metadata and controls
29 lines (26 loc) · 847 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
[[repos]]
repo = "builtin"
hooks = [
{ id = "trailing-whitespace" },
{ id = "check-added-large-files" },
{ id = "end-of-file-fixer" },
{ id = "fix-byte-order-marker" },
{ id = "check-toml" },
{ id = "mixed-line-ending" },
{ id = "check-merge-conflict" },
{ id = "detect-private-key" },
]
[[repos]]
repo = "https://github.com/astral-sh/ruff-pre-commit"
rev = "v0.14.7"
hooks = [{ id = "ruff-check", args = ["--fix"] }, { id = "ruff-format" }]
[[repos]]
repo = "https://github.com/astral-sh/uv-pre-commit"
rev = "0.9.15"
hooks = [{ id = "uv-lock" }]
[[repos]]
repo = "local"
hooks = [
{ id = "ty", name = "ty", entry = "uv run ty check", exclude = "docs/", language = "system", types = ["python"]},
{ id = "pytest", name = "pytest", entry = "uv run pytest", pass_filenames = false, language = "system", types = ["python"]},
]