-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpoly.toml
More file actions
76 lines (66 loc) · 1.8 KB
/
Copy pathpoly.toml
File metadata and controls
76 lines (66 loc) · 1.8 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
69
70
71
72
73
74
75
76
# Generated by scripts/migrate_to_poly.py from .pre-commit-config.yaml + tool configs. Review before committing.
[defaults]
line_length = 120
line_ending = "lf"
final_newline = true
trim_trailing_whitespace = true
[discovery]
exclude = [
"**/*.lock",
"**/Cargo.lock",
"**/go.sum",
"**/package-lock.json",
"**/pnpm-lock.yaml",
"**/uv.lock",
"dist/**",
]
[per-file-ignores]
"tests/**" = ["ANN", "D", "PLC0415", "PLR2004", "RUF043", "S101", "S108", "SLF001", "TC001", "TC003"]
[lint.python.ruff]
line_length = 120
select = ["ALL"]
ignore = ["ANN401", "COM812", "D100", "D104", "D107", "D203", "D213", "ISC001", "PLR0913"]
[hooks]
stages = ["pre-commit"]
[hooks.builtin]
polylint = { exclude = [
"**/*.lock",
"**/Cargo.lock",
"**/go.sum",
"**/package-lock.json",
"**/pnpm-lock.yaml",
"**/uv.lock",
"dist/**",
] }
polyfmt = { exclude = [
"**/*.lock",
"**/Cargo.lock",
"**/go.sum",
"**/package-lock.json",
"**/pnpm-lock.yaml",
"**/uv.lock",
"dist/**",
] }
commit = { stages = ["commit-msg"] }
file_safety = { exclude = [
"**/*.lock",
"**/Cargo.lock",
"**/go.sum",
"**/package-lock.json",
"**/pnpm-lock.yaml",
"**/uv.lock",
"dist/**",
] }
# --- catalog tools (standalone binaries, PATH-probed) ---
[tools.pyrefly]
enabled = true
# TODO exclude: regex not auto-convertible to glob: ^(examples|tests|benchmarks|e2e)/
[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"