-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpoly.toml
More file actions
68 lines (58 loc) · 1.57 KB
/
Copy pathpoly.toml
File metadata and controls
68 lines (58 loc) · 1.57 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Generated by scripts/migrate_to_poly.py from .pre-commit-config.yaml + tool configs. Review before committing.
# discovery-exclude (pending polylint feature): direct `poly lint .`/`poly fmt .` does not yet honor these; they apply
# to the hook builtins below. Globs:
# **/*.lock
# **/Cargo.lock
# **/go.sum
# **/package-lock.json
# **/pnpm-lock.yaml
# **/uv.lock
[defaults]
line_length = 120
line_ending = "lf"
final_newline = true
trim_trailing_whitespace = true
[hooks]
stages = ["pre-commit"]
[hooks.builtin]
polylint = { exclude = [
"**/*.lock",
"**/Cargo.lock",
"**/go.sum",
"**/package-lock.json",
"**/pnpm-lock.yaml",
"**/uv.lock",
] }
polyfmt = { exclude = [
"**/*.lock",
"**/Cargo.lock",
"**/go.sum",
"**/package-lock.json",
"**/pnpm-lock.yaml",
"**/uv.lock",
] }
commit = { stages = ["commit-msg"] }
file_safety = { exclude = [
"**/*.lock",
"**/Cargo.lock",
"**/go.sum",
"**/package-lock.json",
"**/pnpm-lock.yaml",
"**/uv.lock",
] }
# --- catalog tools (standalone binaries, PATH-probed) ---
[tools.rubocop]
enabled = true
[tools.shfmt]
enabled = true
[tools.shellcheck]
enabled = true
[tools.actionlint]
enabled = true
# --- lightweight inline script hooks (no toolchain) ---
[hooks.pre-commit.scripts.ai_rulez_generate]
# TODO: wire to vendored script / task target (was a shared pre-commit-hooks hook).
run = "TODO-ai-rulez-generate"
[hooks.pre-commit.scripts.gh_actions_updater]
# TODO: wire to vendored script / task target (was a shared pre-commit-hooks hook).
run = "TODO-gh-actions-updater"