mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-21 08:35:40 +00:00
Enforce consistent and correct toml formatting (#2518)
Using taplo, fixes all our broken and inconsistent toml formatting and adds CI to keep them tidy. If people want we can customise the format rules as described here https://taplo.tamasfe.dev/configuration/formatter-options.html @ggwpez, I suggest zepter is used only for checking features are propagated, and leave formatting for taplo to avoid duplicate work and conflicts. TODO - [x] Use `exclude = [...]` syntax in taplo file to ignore zombienet tests instead of deleting the dir --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
@@ -9,36 +9,36 @@ repository.workspace = true
|
||||
description = "A mock network for testing pallet-contracts"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = [ "derive", "max-encoded-len"] }
|
||||
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive", "max-encoded-len"] }
|
||||
|
||||
frame-support = { path = "../../support", default-features = false}
|
||||
frame-system = { path = "../../system", default-features = false}
|
||||
frame-support = { path = "../../support", default-features = false }
|
||||
frame-system = { path = "../../system", default-features = false }
|
||||
pallet-assets = { path = "../../assets" }
|
||||
pallet-balances = { path = "../../balances" }
|
||||
pallet-contracts = { path = ".." }
|
||||
pallet-contracts-uapi = { path = "../uapi", default-features = false}
|
||||
pallet-contracts-uapi = { path = "../uapi", default-features = false }
|
||||
pallet-contracts-proc-macro = { path = "../proc-macro" }
|
||||
pallet-insecure-randomness-collective-flip = { path = "../../insecure-randomness-collective-flip" }
|
||||
pallet-message-queue = { path = "../../message-queue" }
|
||||
pallet-proxy = { path = "../../proxy" }
|
||||
pallet-timestamp = { path = "../../timestamp" }
|
||||
pallet-utility = { path = "../../utility" }
|
||||
pallet-xcm = { path = "../../../../polkadot/xcm/pallet-xcm", default-features = false}
|
||||
polkadot-parachain-primitives = { path = "../../../../polkadot/parachain" }
|
||||
polkadot-primitives = { path = "../../../../polkadot/primitives" }
|
||||
polkadot-runtime-parachains = {path = "../../../../polkadot/runtime/parachains"}
|
||||
pallet-xcm = { path = "../../../../polkadot/xcm/pallet-xcm", default-features = false }
|
||||
polkadot-parachain-primitives = { path = "../../../../polkadot/parachain" }
|
||||
polkadot-primitives = { path = "../../../../polkadot/primitives" }
|
||||
polkadot-runtime-parachains = { path = "../../../../polkadot/runtime/parachains" }
|
||||
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
|
||||
sp-api = { path = "../../../primitives/api", default-features = false}
|
||||
sp-core = { path = "../../../primitives/core", default-features = false}
|
||||
sp-io = { path = "../../../primitives/io", default-features = false}
|
||||
sp-api = { path = "../../../primitives/api", default-features = false }
|
||||
sp-core = { path = "../../../primitives/core", default-features = false }
|
||||
sp-io = { path = "../../../primitives/io", default-features = false }
|
||||
sp-keystore = { path = "../../../primitives/keystore" }
|
||||
sp-runtime = { path = "../../../primitives/runtime", default-features = false}
|
||||
sp-std = { path = "../../../primitives/std", default-features = false}
|
||||
sp-runtime = { path = "../../../primitives/runtime", default-features = false }
|
||||
sp-std = { path = "../../../primitives/std", default-features = false }
|
||||
sp-tracing = { path = "../../../primitives/tracing" }
|
||||
xcm = { package = "staging-xcm", path = "../../../../polkadot/xcm", default-features = false}
|
||||
xcm-builder = {package = "staging-xcm-builder", path = "../../../../polkadot/xcm/xcm-builder"}
|
||||
xcm-executor = { package = "staging-xcm-executor", path = "../../../../polkadot/xcm/xcm-executor", default-features = false}
|
||||
xcm-simulator = {path = "../../../../polkadot/xcm/xcm-simulator"}
|
||||
xcm = { package = "staging-xcm", path = "../../../../polkadot/xcm", default-features = false }
|
||||
xcm-builder = { package = "staging-xcm-builder", path = "../../../../polkadot/xcm/xcm-builder" }
|
||||
xcm-executor = { package = "staging-xcm-executor", path = "../../../../polkadot/xcm/xcm-executor", default-features = false }
|
||||
xcm-simulator = { path = "../../../../polkadot/xcm/xcm-simulator" }
|
||||
|
||||
[dev-dependencies]
|
||||
assert_matches = "1"
|
||||
@@ -46,7 +46,7 @@ pretty_assertions = "1"
|
||||
pallet-contracts-fixtures = { path = "../fixtures" }
|
||||
|
||||
[features]
|
||||
default = [ "std" ]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"frame-support/std",
|
||||
|
||||
Reference in New Issue
Block a user