Basic TOML Lint (#11348)

* basic lint

* lint ordering
This commit is contained in:
Shawn Tabrizi
2022-05-04 14:38:54 +01:00
committed by GitHub
parent 19a9e56444
commit 7d5202341b
186 changed files with 1435 additions and 1531 deletions
+22 -22
View File
@@ -18,59 +18,59 @@ prost-build = "0.9"
[dependencies]
async-trait = "0.1"
asynchronous-codec = "0.6"
bitflags = "1.3.2"
cid = "0.8.4"
bytes = "1"
cid = "0.8.4"
codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"] }
either = "1.5.3"
fnv = "1.0.6"
fork-tree = { version = "3.0.0", path = "../../utils/fork-tree" }
futures = "0.3.21"
futures-timer = "3.0.2"
asynchronous-codec = "0.6"
hex = "0.4.0"
ip_network = "0.4.1"
linked-hash-map = "0.5.4"
libp2p = "0.44.0"
linked_hash_set = "0.1.3"
lru = "0.7.5"
linked-hash-map = "0.5.4"
log = "0.4.16"
lru = "0.7.5"
parking_lot = "0.12.0"
pin-project = "1.0.10"
prometheus-endpoint = { package = "substrate-prometheus-endpoint", version = "0.10.0-dev", path = "../../utils/prometheus" }
prost = "0.9"
rand = "0.7.2"
sc-block-builder = { version = "0.10.0-dev", path = "../block-builder" }
sc-client-api = { version = "4.0.0-dev", path = "../api" }
sc-peerset = { version = "4.0.0-dev", path = "../peerset" }
serde = { version = "1.0.136", features = ["derive"] }
serde_json = "1.0.79"
smallvec = "1.8.0"
sp-arithmetic = { version = "5.0.0", path = "../../primitives/arithmetic" }
sp-blockchain = { version = "4.0.0-dev", path = "../../primitives/blockchain" }
sp-consensus = { version = "0.10.0-dev", path = "../../primitives/consensus/common" }
sc-consensus = { version = "0.10.0-dev", path = "../consensus/common" }
sp-core = { version = "6.0.0", path = "../../primitives/core" }
sp-runtime = { version = "6.0.0", path = "../../primitives/runtime" }
sc-network-common = { version = "0.10.0-dev", path = "./common" }
sc-network-sync = { version = "0.10.0-dev", path = "./sync" }
sc-utils = { version = "4.0.0-dev", path = "../utils" }
sp-finality-grandpa = { version = "4.0.0-dev", path = "../../primitives/finality-grandpa" }
thiserror = "1.0"
unsigned-varint = { version = "0.7.1", features = ["futures", "asynchronous_codec"] }
void = "1.0.2"
zeroize = "1.4.3"
libp2p = "0.44.0"
fork-tree = { version = "3.0.0", path = "../../utils/fork-tree" }
prometheus-endpoint = { package = "substrate-prometheus-endpoint", version = "0.10.0-dev", path = "../../utils/prometheus" }
sc-block-builder = { version = "0.10.0-dev", path = "../block-builder" }
sc-client-api = { version = "4.0.0-dev", path = "../api" }
sc-consensus = { version = "0.10.0-dev", path = "../consensus/common" }
sc-network-common = { version = "0.10.0-dev", path = "./common" }
sc-network-sync = { version = "0.10.0-dev", path = "./sync" }
sc-peerset = { version = "4.0.0-dev", path = "../peerset" }
sc-utils = { version = "4.0.0-dev", path = "../utils" }
sp-arithmetic = { version = "5.0.0", path = "../../primitives/arithmetic" }
sp-blockchain = { version = "4.0.0-dev", path = "../../primitives/blockchain" }
sp-consensus = { version = "0.10.0-dev", path = "../../primitives/consensus/common" }
sp-core = { version = "6.0.0", path = "../../primitives/core" }
sp-finality-grandpa = { version = "4.0.0-dev", path = "../../primitives/finality-grandpa" }
sp-runtime = { version = "6.0.0", path = "../../primitives/runtime" }
[dev-dependencies]
assert_matches = "1.3"
async-std = "1.11.0"
quickcheck = "1.0.3"
rand = "0.7.2"
tempfile = "3.1.0"
sp-test-primitives = { version = "2.0.0", path = "../../primitives/test-primitives" }
sp-tracing = { version = "5.0.0", path = "../../primitives/tracing" }
substrate-test-runtime = { version = "2.0.0", path = "../../test-utils/runtime" }
substrate-test-runtime-client = { version = "2.0.0", path = "../../test-utils/runtime/client" }
tempfile = "3.1.0"
async-std = "1.11.0"
[features]
default = []
+2 -2
View File
@@ -18,9 +18,9 @@ prost-build = "0.9"
[dependencies]
codec = { package = "parity-scale-codec", version = "3.0.0", features = [
"derive",
"derive",
] }
futures = "0.3.21"
libp2p = "0.44.0"
sc-peerset = { version = "4.0.0-dev", path = "../../peerset" }
smallvec = "1.8.0"
sc-peerset = { version = "4.0.0-dev", path = "../../peerset" }
+4 -4
View File
@@ -19,27 +19,27 @@ prost-build = "0.9"
[dependencies]
bitflags = "1.3.2"
codec = { package = "parity-scale-codec", version = "3.0.0", features = [
"derive",
"derive",
] }
either = "1.5.3"
fork-tree = { version = "3.0.0", path = "../../../utils/fork-tree" }
futures = "0.3.21"
libp2p = "0.44.0"
log = "0.4.16"
lru = "0.7.5"
prost = "0.9"
smallvec = "1.8.0"
thiserror = "1.0"
fork-tree = { version = "3.0.0", path = "../../../utils/fork-tree" }
sc-client-api = { version = "4.0.0-dev", path = "../../api" }
sc-consensus = { version = "0.10.0-dev", path = "../../consensus/common" }
sc-network-common = { version = "0.10.0-dev", path = "../common" }
sc-peerset = { version = "4.0.0-dev", path = "../../peerset" }
smallvec = "1.8.0"
sp-arithmetic = { version = "5.0.0", path = "../../../primitives/arithmetic" }
sp-blockchain = { version = "4.0.0-dev", path = "../../../primitives/blockchain" }
sp-consensus = { version = "0.10.0-dev", path = "../../../primitives/consensus/common" }
sp-core = { version = "6.0.0", path = "../../../primitives/core" }
sp-finality-grandpa = { version = "4.0.0-dev", path = "../../../primitives/finality-grandpa" }
sp-runtime = { version = "6.0.0", path = "../../../primitives/runtime" }
thiserror = "1.0"
[dev-dependencies]
quickcheck = "1.0.3"
+15 -15
View File
@@ -14,24 +14,24 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
async-std = "1.11.0"
sc-network-common = { version = "0.10.0-dev", path = "../common" }
sc-network = { version = "0.10.0-dev", path = "../" }
log = "0.4.16"
parking_lot = "0.12.0"
async-trait = "0.1.50"
futures = "0.3.21"
futures-timer = "3.0.1"
rand = "0.7.2"
libp2p = { version = "0.44.0", default-features = false }
sp-consensus = { version = "0.10.0-dev", path = "../../../primitives/consensus/common" }
sc-consensus = { version = "0.10.0-dev", path = "../../consensus/common" }
sc-client-api = { version = "4.0.0-dev", path = "../../api" }
sp-blockchain = { version = "4.0.0-dev", path = "../../../primitives/blockchain" }
sp-runtime = { version = "6.0.0", path = "../../../primitives/runtime" }
sp-core = { version = "6.0.0", path = "../../../primitives/core" }
log = "0.4.16"
parking_lot = "0.12.0"
rand = "0.7.2"
sc-block-builder = { version = "0.10.0-dev", path = "../../block-builder" }
sc-client-api = { version = "4.0.0-dev", path = "../../api" }
sc-consensus = { version = "0.10.0-dev", path = "../../consensus/common" }
sc-network = { version = "0.10.0-dev", path = "../" }
sc-network-common = { version = "0.10.0-dev", path = "../common" }
sc-service = { version = "0.10.0-dev", default-features = false, features = ["test-helpers"], path = "../../service" }
sp-blockchain = { version = "4.0.0-dev", path = "../../../primitives/blockchain" }
sp-consensus = { version = "0.10.0-dev", path = "../../../primitives/consensus/common" }
sp-consensus-babe = { version = "0.10.0-dev", path = "../../../primitives/consensus/babe" }
substrate-test-runtime-client = { version = "2.0.0", path = "../../../test-utils/runtime/client" }
substrate-test-runtime = { version = "2.0.0", path = "../../../test-utils/runtime" }
sp-core = { version = "6.0.0", path = "../../../primitives/core" }
sp-runtime = { version = "6.0.0", path = "../../../primitives/runtime" }
sp-tracing = { version = "5.0.0", path = "../../../primitives/tracing" }
sc-service = { version = "0.10.0-dev", default-features = false, features = ["test-helpers"], path = "../../service" }
async-trait = "0.1.50"
substrate-test-runtime = { version = "2.0.0", path = "../../../test-utils/runtime" }
substrate-test-runtime-client = { version = "2.0.0", path = "../../../test-utils/runtime/client" }