-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprek.toml
More file actions
29 lines (27 loc) · 805 Bytes
/
prek.toml
File metadata and controls
29 lines (27 loc) · 805 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 = "https://github.com/pre-commit/pre-commit-hooks"
rev = "v6.0.0"
hooks = [
{ id = "check-ast" },
{ id = "check-yaml" },
{ id = "check-toml" },
{ id = "check-json" },
{ id = "end-of-file-fixer" },
{ id = "mixed-line-ending" },
{ id = "trailing-whitespace" },
{ id = "detect-private-key" },
{ id = "check-added-large-files" },
{ id = "check-merge-conflict" },
]
[[repos]]
repo = "https://github.com/astral-sh/ruff-pre-commit"
rev = "v0.15.4"
hooks = [
{ id = "ruff-check", args = ["--fix", "--extend-select=I"] },
{ id = "ruff-format" },
]
[[repos]]
repo = "local"
hooks = [
{ id = "uv-lock", name = "uv-lock", entry = "bash -c 'uv lock && git add uv.lock'", language = "system", files = "pyproject\\.toml$", pass_filenames = false },
]