mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 13:31:10 +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:
@@ -5,7 +5,7 @@ unlicensed = "deny"
|
||||
# See https://spdx.org/licenses/ for list of possible licenses
|
||||
# [possible values: any SPDX 3.11 short identifier (+ optional exception)].
|
||||
allow = [
|
||||
"MPL-2.0",
|
||||
"MPL-2.0",
|
||||
]
|
||||
# List of explicitly disallowed licenses
|
||||
# See https://spdx.org/licenses/ for list of possible licenses
|
||||
@@ -34,70 +34,70 @@ confidence-threshold = 0.8
|
||||
# Allow 1 or more licenses on a per-crate basis, so that particular licenses
|
||||
# aren't accepted for every possible crate as with the normal allow list
|
||||
exceptions = [
|
||||
# Each entry is the crate and version constraint, and its specific allow list
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "chain-spec-builder" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "mmr-gadget" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "node-bench" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "staging-node-cli" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "node-inspect" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "node-template-release" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "node-testing" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-authority-discovery" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-basic-authorship" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-block-builder" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-chain-spec" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-chain-spec-derive" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-cli" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-client-api" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-client-db" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-consensus" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-consensus-aura" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-consensus-babe" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-consensus-babe-rpc" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-consensus-beefy" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-consensus-beefy-rpc" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-consensus-epochs" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-consensus-grandpa" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-consensus-grandpa-rpc" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-consensus-manual-seal" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-consensus-pow" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-consensus-slots" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-executor" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-executor-common" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-executor-wasmi" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-executor-wasmtime" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-informant" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-keystore" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-mixnet" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-network" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-network-bitswap" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-network-common" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-network-gossip" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-network-light" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-network-sync" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-network-test" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-network-transactions" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-network-statement" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-offchain" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-peerset" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-proposer-metrics" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-rpc" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-rpc-api" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-rpc-server" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-rpc-spec-v2" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-runtime-test" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-service" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-service-test" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-state-db" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-statement-store" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-storage-monitor" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-sysinfo" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-telemetry" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-tracing" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-transaction-pool" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-transaction-pool-api" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "subkey" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "substrate" },
|
||||
# Each entry is the crate and version constraint, and its specific allow list
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "chain-spec-builder" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "mmr-gadget" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "node-bench" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "node-inspect" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "node-template-release" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "node-testing" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-authority-discovery" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-basic-authorship" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-block-builder" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-chain-spec" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-chain-spec-derive" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-cli" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-client-api" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-client-db" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-consensus" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-consensus-aura" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-consensus-babe" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-consensus-babe-rpc" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-consensus-beefy" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-consensus-beefy-rpc" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-consensus-epochs" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-consensus-grandpa" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-consensus-grandpa-rpc" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-consensus-manual-seal" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-consensus-pow" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-consensus-slots" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-executor" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-executor-common" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-executor-wasmi" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-executor-wasmtime" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-informant" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-keystore" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-mixnet" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-network" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-network-bitswap" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-network-common" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-network-gossip" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-network-light" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-network-statement" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-network-sync" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-network-test" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-network-transactions" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-offchain" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-peerset" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-proposer-metrics" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-rpc" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-rpc-api" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-rpc-server" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-rpc-spec-v2" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-runtime-test" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-service" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-service-test" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-state-db" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-statement-store" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-storage-monitor" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-sysinfo" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-telemetry" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-tracing" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-transaction-pool" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "sc-transaction-pool-api" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "staging-node-cli" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "subkey" },
|
||||
{ allow = ["GPL-3.0 WITH Classpath-exception-2.0"], name = "substrate" },
|
||||
]
|
||||
|
||||
# Some crates don't have (easily) machine readable licensing information,
|
||||
@@ -114,6 +114,6 @@ expression = "MIT AND ISC AND OpenSSL"
|
||||
# and the crate will be checked normally, which may produce warnings or errors
|
||||
# depending on the rest of your configuration
|
||||
license-files = [
|
||||
# Each entry is a crate relative path, and the (opaque) hash of its contents
|
||||
{ path = "LICENSE", hash = 0xbd0eed23 }
|
||||
# Each entry is a crate relative path, and the (opaque) hash of its contents
|
||||
{ path = "LICENSE", hash = 0xbd0eed23 },
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user