2026-02-12 20:31:52 +01:00
|
|
|
#:tombi schema.strict = false
|
|
|
|
|
|
2026-02-22 12:08:17 +01:00
|
|
|
# see also: https://prek.j178.dev/builtin/
|
|
|
|
|
|
2026-02-12 20:31:52 +01:00
|
|
|
exclude = { glob = ["__snapshots__/**", "__pycache__", "dist/**"] }
|
|
|
|
|
|
|
|
|
|
[[repos]]
|
|
|
|
|
repo = "builtin"
|
|
|
|
|
hooks = [
|
|
|
|
|
{ id = "check-case-conflict" },
|
|
|
|
|
{ id = "check-merge-conflict" },
|
|
|
|
|
{ id = "check-toml" },
|
|
|
|
|
{ id = "end-of-file-fixer" },
|
2026-02-22 12:08:17 +01:00
|
|
|
{ id = "mixed-line-ending", args = [ "--fix=lf" ] },
|
|
|
|
|
{ id = "trailing-whitespace", args = [ "--markdown-linebreak-ext=md" ] },
|
2026-02-12 20:31:52 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
[[repos]]
|
|
|
|
|
repo = "meta"
|
|
|
|
|
hooks = [{ id = "check-useless-excludes" }]
|