Compare commits
2 commits
cf192c7d02
...
8da542a1f6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8da542a1f6 | ||
|
|
3c2828bae6 |
2 changed files with 29 additions and 0 deletions
|
|
@ -2,6 +2,8 @@
|
||||||
'_'.python.venv = { path = ".venv", create = true }
|
'_'.python.venv = { path = ".venv", create = true }
|
||||||
|
|
||||||
[tools]
|
[tools]
|
||||||
|
markdownlint-cli2 = "latest"
|
||||||
|
prek = "latest"
|
||||||
python = "3.14"
|
python = "3.14"
|
||||||
ruff = "latest"
|
ruff = "latest"
|
||||||
uv = "latest"
|
uv = "latest"
|
||||||
|
|
|
||||||
27
prek.toml
Normal file
27
prek.toml
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
#: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" }]
|
||||||
Loading…
Add table
Add a link
Reference in a new issue