Files
pezkuwi-sdk/.config/taplo.toml
T
Kurdistan Tech Ministry 482cbbb1f6 fix(ci): fix taplo formatting and skip .cargo dir in workspace check
taplo.toml and deny.toml were using 2-space indent; taplo requires tabs.
check-workspace.py now skips .cargo the same way it skips target/ —
prevents 1000+ registry crates from being flagged as missing from workspace
when GitLab cache restores .cargo into the project directory.
2026-04-22 05:06:44 +03:00

50 lines
1008 B
TOML

# all options https://taplo.tamasfe.dev/configuration/formatter-options.html
# ignore zombienet as they do some deliberate custom toml stuff
exclude = [
"**/integrationtests/**",
"**/testing/**",
"**/zombienet/**",
"**/zombienet_tests/**",
".cargo/**",
"target/**",
]
# global rules
[formatting]
reorder_arrays = true
inline_table_expand = false
array_auto_expand = true
array_auto_collapse = false
indent_string = " " # tab
# don't re-order order-dependent deb package metadata
[[rule]]
include = ["pezkuwi/Cargo.toml"]
keys = ["package.metadata.deb"]
[rule.formatting]
reorder_arrays = false
# don't re-order order-dependent rustflags
[[rule]]
include = [".cargo/config.toml"]
keys = ["build"]
[rule.formatting]
reorder_arrays = false
[[rule]]
include = ["Cargo.toml"]
keys = ["workspace.dependencies"]
[rule.formatting]
reorder_keys = true
[[rule]]
include = ["**/Cargo.toml"]
keys = ["build-dependencies", "dependencies", "dev-dependencies"]
[rule.formatting]
reorder_keys = true