-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprek.toml
More file actions
28 lines (24 loc) · 799 Bytes
/
Copy pathprek.toml
File metadata and controls
28 lines (24 loc) · 799 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
# Configuration file for `prek`, a git hook framework written in Rust.
# See https://prek.j178.dev for more information.
# schema https://www.schemastore.org/prek.json
fail_fast = false
[[repos]]
repo = "https://github.com/pre-commit/pre-commit-hooks"
rev = "v6.0.0"
hooks = [
{ id = "check-merge-conflict", priority = 0 },
{ id = "end-of-file-fixer", priority = 0 },
]
[[repos]]
repo = "https://github.com/abravalheri/validate-pyproject"
rev = "v0.25"
hooks = [
{ id = "validate-pyproject", priority = 0 },
]
[[repos]]
repo = "https://github.com/astral-sh/ruff-pre-commit"
rev = "v0.15.16"
hooks = [
{ id = "ruff-format", priority = 0 },
{ id = "ruff-check", args = ["--fix", "--exit-non-zero-on-fix"], types_or = ["python", "pyi"], require_serial = true, priority = 1 },
]