WIP: CI: add spellcheck (#3421)

* CI: add spellcheck

* revert me

* CI: explicit command for spellchecker

* spellcheck: edit misspells

* CI: run spellcheck on diff

* spellcheck: edits

* spellcheck: edit misspells

* spellcheck: add rules

* spellcheck: mv configs

* spellcheck: more edits

* spellcheck: chore

* spellcheck: one more thing

* spellcheck: and another one

* spellcheck: seems like it doesn't get to an end

* spellcheck: new words after rebase

* spellcheck: new words appearing out of nowhere

* chore

* review edits

* more review edits

* more edits

* wonky behavior

* wonky behavior 2

* wonky behavior 3

* change git behavior

* spellcheck: another bunch of new edits

* spellcheck: new words are koming out of nowhere

* CI: finding the master

* CI: fetching master implicitly

* CI: undebug

* new errors

* a bunch of new edits

* and some more

* Update node/core/approval-voting/src/approval_db/v1/mod.rs

Co-authored-by: Andronik Ordian <write@reusable.software>

* Update xcm/xcm-executor/src/assets.rs

Co-authored-by: Andronik Ordian <write@reusable.software>

* Apply suggestions from code review

Co-authored-by: Andronik Ordian <write@reusable.software>

* Suggestions from the code review

* CI: scan only changed files

Co-authored-by: Andronik Ordian <write@reusable.software>
This commit is contained in:
Denis Pisarev
2021-07-14 19:22:58 +02:00
committed by GitHub
parent f6305d29be
commit fc253e6e4d
239 changed files with 927 additions and 761 deletions
@@ -238,11 +238,11 @@ impl Get<crate::Balance> for GetDeliveryConfirmationTransactionFee {
}
}
/// This module contains definitions that are used by the messages pallet instance, 'deployed' at Rococo.
/// This module contains definitions that are used by the messages pallet instance, "deployed" at Rococo.
mod at_rococo {
use super::*;
/// Message bridge that is 'deployed' at Rococo chain and connecting it to Wococo chain.
/// Message bridge that is "deployed" at Rococo chain and connecting it to Wococo chain.
#[derive(RuntimeDebug, Clone, Copy)]
pub struct AtRococoWithWococoMessageBridge;
@@ -283,11 +283,11 @@ mod at_rococo {
>;
}
/// This module contains definitions that are used by the messages pallet instance, 'deployed' at Wococo.
/// This module contains definitions that are used by the messages pallet instance, "deployed" at Wococo.
mod at_wococo {
use super::*;
/// Message bridge that is 'deployed' at Wococo chain and connecting it to Rococo chain.
/// Message bridge that is "deployed" at Wococo chain and connecting it to Rococo chain.
#[derive(RuntimeDebug, Clone, Copy)]
pub struct AtWococoWithRococoMessageBridge;
+1 -1
View File
@@ -63,7 +63,7 @@ pub mod fee {
/// node's balance type.
///
/// This should typically create a mapping between the following ranges:
/// - [0, frame_system::MaximumBlockWeight]
/// - [0, `frame_system::MaximumBlockWeight`]
/// - [Balance::min, Balance::max]
///
/// Yet, it can be used for any other sort of change to weight-fee. Some examples being:
+6 -6
View File
@@ -146,9 +146,9 @@ pub type Header = generic::Header<BlockNumber, BlakeTwo256>;
pub type Block = generic::Block<Header, UncheckedExtrinsic>;
/// A Block signed with a Justification
pub type SignedBlock = generic::SignedBlock<Block>;
/// BlockId type as expected by this runtime.
/// `BlockId` type as expected by this runtime.
pub type BlockId = generic::BlockId<Block>;
/// The SignedExtension to the basic transaction logic.
/// The `SignedExtension` to the basic transaction logic.
pub type SignedExtra = (
frame_system::CheckSpecVersion<Runtime>,
frame_system::CheckTxVersion<Runtime>,
@@ -867,7 +867,7 @@ impl pallet_bridge_grandpa::Config<WococoGrandpaInstance> for Runtime {
type WeightInfo = pallet_bridge_grandpa::weights::RialtoWeight<Runtime>;
}
// Instance that is 'deployed' at Wococo chain. Responsible for dispatching Rococo -> Wococo messages.
// Instance that is "deployed" at Wococo chain. Responsible for dispatching Rococo -> Wococo messages.
pub type AtWococoFromRococoMessagesDispatch = pallet_bridge_dispatch::DefaultInstance;
impl pallet_bridge_dispatch::Config<AtWococoFromRococoMessagesDispatch> for Runtime {
type Event = Event;
@@ -881,7 +881,7 @@ impl pallet_bridge_dispatch::Config<AtWococoFromRococoMessagesDispatch> for Runt
type AccountIdConverter = bp_rococo::AccountIdConverter;
}
// Instance that is 'deployed' at Rococo chain. Responsible for dispatching Wococo -> Rococo messages.
// Instance that is "deployed" at Rococo chain. Responsible for dispatching Wococo -> Rococo messages.
pub type AtRococoFromWococoMessagesDispatch = pallet_bridge_dispatch::Instance1;
impl pallet_bridge_dispatch::Config<AtRococoFromWococoMessagesDispatch> for Runtime {
type Event = Event;
@@ -904,7 +904,7 @@ parameter_types! {
pub const RootAccountForPayments: Option<AccountId> = None;
}
// Instance that is 'deployed' at Wococo chain. Responsible for sending Wococo -> Rococo messages
// Instance that is "deployed" at Wococo chain. Responsible for sending Wococo -> Rococo messages
// and receiving Rococo -> Wococo messages.
pub type AtWococoWithRococoMessagesInstance = pallet_bridge_messages::DefaultInstance;
impl pallet_bridge_messages::Config<AtWococoWithRococoMessagesInstance> for Runtime {
@@ -938,7 +938,7 @@ impl pallet_bridge_messages::Config<AtWococoWithRococoMessagesInstance> for Runt
type MessageDispatch = crate::bridge_messages::FromRococoMessageDispatch;
}
// Instance that is 'deployed' at Rococo chain. Responsible for sending Rococo -> Wococo messages
// Instance that is "deployed" at Rococo chain. Responsible for sending Rococo -> Wococo messages
// and receiving Wococo -> Rococo messages.
pub type AtRococoWithWococoMessagesInstance = pallet_bridge_messages::Instance1;
impl pallet_bridge_messages::Config<AtRococoWithWococoMessagesInstance> for Runtime {