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
+14 -14
View File
@@ -13,30 +13,30 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
sp-application-crypto = { version = "6.0.0", default-features = false, path = "../../application-crypto" }
async-trait = { version = "0.1.50", optional = true }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
sp-std = { version = "4.0.0", default-features = false, path = "../../std" }
sp-api = { version = "4.0.0-dev", default-features = false, path = "../../api" }
sp-runtime = { version = "6.0.0", default-features = false, path = "../../runtime" }
sp-inherents = { version = "4.0.0-dev", default-features = false, path = "../../inherents" }
sp-timestamp = { version = "4.0.0-dev", default-features = false, path = "../../timestamp" }
sp-application-crypto = { version = "6.0.0", default-features = false, path = "../../application-crypto" }
sp-consensus = { version = "0.10.0-dev", optional = true, path = "../common" }
sp-consensus-slots = { version = "0.10.0-dev", default-features = false, path = "../slots" }
sp-consensus = { version = "0.10.0-dev", path = "../common", optional = true }
async-trait = { version = "0.1.50", optional = true }
sp-inherents = { version = "4.0.0-dev", default-features = false, path = "../../inherents" }
sp-runtime = { version = "6.0.0", default-features = false, path = "../../runtime" }
sp-std = { version = "4.0.0", default-features = false, path = "../../std" }
sp-timestamp = { version = "4.0.0-dev", default-features = false, path = "../../timestamp" }
[features]
default = ["std"]
std = [
"sp-application-crypto/std",
"async-trait",
"codec/std",
"scale-info/std",
"sp-std/std",
"sp-api/std",
"sp-runtime/std",
"sp-inherents/std",
"sp-timestamp/std",
"sp-consensus-slots/std",
"sp-application-crypto/std",
"sp-consensus",
"async-trait",
"sp-consensus-slots/std",
"sp-inherents/std",
"sp-runtime/std",
"sp-std/std",
"sp-timestamp/std",
]
+13 -13
View File
@@ -13,32 +13,33 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
sp-application-crypto = { version = "6.0.0", default-features = false, path = "../../application-crypto" }
async-trait = { version = "0.1.50", optional = true }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
merlin = { version = "2.0", default-features = false }
sp-std = { version = "4.0.0", default-features = false, path = "../../std" }
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
serde = { version = "1.0.136", features = ["derive"], optional = true }
sp-api = { version = "4.0.0-dev", default-features = false, path = "../../api" }
sp-application-crypto = { version = "6.0.0", default-features = false, path = "../../application-crypto" }
sp-consensus = { version = "0.10.0-dev", optional = true, path = "../common" }
sp-consensus-slots = { version = "0.10.0-dev", default-features = false, path = "../slots" }
sp-consensus-vrf = { version = "0.10.0-dev", path = "../vrf", default-features = false }
sp-consensus-vrf = { version = "0.10.0-dev", default-features = false, path = "../vrf" }
sp-core = { version = "6.0.0", default-features = false, path = "../../core" }
sp-inherents = { version = "4.0.0-dev", default-features = false, path = "../../inherents" }
sp-keystore = { version = "0.12.0", default-features = false, path = "../../keystore", optional = true }
sp-keystore = { version = "0.12.0", default-features = false, optional = true, path = "../../keystore" }
sp-runtime = { version = "6.0.0", default-features = false, path = "../../runtime" }
sp-timestamp = { version = "4.0.0-dev", path = "../../timestamp", optional = true }
serde = { version = "1.0.136", features = ["derive"], optional = true }
async-trait = { version = "0.1.50", optional = true }
sp-std = { version = "4.0.0", default-features = false, path = "../../std" }
sp-timestamp = { version = "4.0.0-dev", optional = true, path = "../../timestamp" }
[features]
default = ["std"]
std = [
"sp-application-crypto/std",
"async-trait",
"codec/std",
"scale-info/std",
"merlin/std",
"sp-std/std",
"scale-info/std",
"serde",
"sp-api/std",
"sp-application-crypto/std",
"sp-consensus",
"sp-consensus-slots/std",
"sp-consensus-vrf/std",
@@ -46,7 +47,6 @@ std = [
"sp-inherents/std",
"sp-keystore",
"sp-runtime/std",
"serde",
"sp-std/std",
"sp-timestamp",
"async-trait",
]
@@ -16,18 +16,18 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
async-trait = "0.1.42"
codec = { package = "parity-scale-codec", version = "3.0.0", features = [
"derive",
"derive",
] }
futures = { version = "0.3.21", features = ["thread-pool"] }
log = "0.4.16"
sp-core = { path = "../../core", version = "6.0.0"}
sp-inherents = { version = "4.0.0-dev", path = "../../inherents" }
sp-state-machine = { version = "0.12.0", path = "../../state-machine" }
futures-timer = "3.0.1"
log = "0.4.16"
thiserror = "1.0.30"
sp-core = { version = "6.0.0", path = "../../core" }
sp-inherents = { version = "4.0.0-dev", path = "../../inherents" }
sp-runtime = { version = "6.0.0", path = "../../runtime" }
sp-state-machine = { version = "0.12.0", path = "../../state-machine" }
sp-std = { version = "4.0.0", path = "../../std" }
sp-version = { version = "5.0.0", path = "../../version" }
sp-runtime = { version = "6.0.0", path = "../../runtime" }
thiserror = "1.0.30"
[dev-dependencies]
futures = "0.3.21"
@@ -13,18 +13,18 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
sp-api = { version = "4.0.0-dev", default-features = false, path = "../../api" }
sp-std = { version = "4.0.0", default-features = false, path = "../../std" }
sp-runtime = { version = "6.0.0", default-features = false, path = "../../runtime" }
sp-core = { version = "6.0.0", default-features = false, path = "../../core" }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
sp-api = { version = "4.0.0-dev", default-features = false, path = "../../api" }
sp-core = { version = "6.0.0", default-features = false, path = "../../core" }
sp-runtime = { version = "6.0.0", default-features = false, path = "../../runtime" }
sp-std = { version = "4.0.0", default-features = false, path = "../../std" }
[features]
default = ["std"]
std = [
"sp-std/std",
"sp-api/std",
"sp-runtime/std",
"sp-core/std",
"codec/std",
"sp-api/std",
"sp-core/std",
"sp-runtime/std",
"sp-std/std",
]
@@ -13,18 +13,18 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { version = "3.0.0", package = "parity-scale-codec", default-features = false }
schnorrkel = { version = "0.9.1", features = ["preaudit_deprecated", "u64_backend"], default-features = false }
sp-std = { version = "4.0.0", path = "../../std", default-features = false }
sp-core = { version = "6.0.0", path = "../../core", default-features = false }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
schnorrkel = { version = "0.9.1", default-features = false, features = ["preaudit_deprecated", "u64_backend"] }
sp-core = { version = "6.0.0", default-features = false, path = "../../core" }
sp-runtime = { version = "6.0.0", default-features = false, path = "../../runtime" }
sp-std = { version = "4.0.0", default-features = false, path = "../../std" }
[features]
default = ["std"]
std = [
"codec/std",
"schnorrkel/std",
"sp-std/std",
"sp-core/std",
"sp-runtime/std",
"sp-std/std",
]