Something went wrong. Try again.
Backend environment for match hosting for lance.blue
Something went wrong. Try again.
arena prek.toml
1.1 kB · 33 lines
TOML
12345678910111213141516171819202122232425262728293031323334# Hooks for prek (https://prek.j178.dev/). See README for setup.# The .patch excludes: patch hunks carry meaningful whitespace.
[[repos]]repo = "https://github.com/pre-commit/pre-commit-hooks"rev = "v6.0.0"hooks = [ { id = "check-merge-conflict" }, { id = "check-added-large-files" }, { id = "check-yaml" }, { id = "check-toml" }, { id = "check-xml" }, { id = "mixed-line-ending", args = ["--fix=lf"], exclude = '\.patch$' }, { id = "end-of-file-fixer", exclude = '\.patch$' }, { id = "trailing-whitespace", exclude = '\.patch$' },]
[[repos]]repo = "https://github.com/shellcheck-py/shellcheck-py"rev = "v0.11.0.1"# Same flags as the repo's own gate, tests/shell/lint.sh: -x follows sourced# files, and info-level notes do not gate.hooks = [{ id = "shellcheck", args = ["-x", "--severity=warning"] }]
[[repos]]repo = "https://github.com/astral-sh/ruff-pre-commit"rev = "v0.16.1"# Covers the helper scripts under tests/ and megamek/skin/. ruff parses the# files itself, so a syntax error fails here too - no separate check-ast.hooks = [ { id = "ruff-check", args = ["--fix"] }, { id = "ruff-format" },]