teilchensammler-cli/prek.toml

28 lines
758 B
TOML
Raw Permalink Normal View History

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