-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Conversation
It would be preferable to only check the changed files for spelling mistakes, so we are not facing a giant 10k dictionary to be fixed upfront |
roadmap/implementers-guide/src/node/approval/approval-voting.md
Outdated
Show resolved
Hide resolved
@@ -193,7 +197,7 @@ Basically we need to test the correctness of data flow through state FSMs descri | |||
- Wait until the data should have been pruned. | |||
- The data is no longer available. | |||
|
|||
- Forkfulness of the relay chain is taken into account | |||
- Fork-awareness of the relay chain is taken into account |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think they mean the same, forkfulness
is the correct term here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The implementation is fork-aware
, so this doesn't express the same thing indeed, forkfulness is still a mouthful and not very clear.
@@ -13,7 +13,7 @@ | |||
|
|||
// You should have received a copy of the GNU General Public License | |||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. | |||
//! Autogenerated weights for frame_system | |||
//! Autogenerated weights for `frame_system` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these files are autogenerated, this should be fixed in substrate cc @shawntabrizi
https://github.com/paritytech/substrate/blob/master/utils/frame/benchmarking-cli/src/template.hbs
Co-authored-by: Andronik Ordian <write@reusable.software>
Co-authored-by: Andronik Ordian <write@reusable.software>
Co-authored-by: Andronik Ordian <write@reusable.software>
- git fetch origin +${CI_DEFAULT_BRANCH}:${CI_DEFAULT_BRANCH} | ||
- time cargo spellcheck check -vvv --cfg=scripts/gitlab/spellcheck.toml --checkers hunspell --code 1 | ||
-r $(git diff --name-only ${CI_COMMIT_SHA} ${CI_DEFAULT_BRANCH}) | ||
-r $(git diff --name-only ${CI_COMMIT_SHA} $(git merge-base ${CI_COMMIT_SHA} ${CI_DEFAULT_BRANCH})) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
WIP: revert the debug commit and
allow_failure: true
before merging!This suggests that the test first should be fixed/dictionary filled.
Reference:
Hunspell manual: http://manpages.ubuntu.com/manpages/bionic/man5/hunspell.5.html
Built-in hunspell affix file into
cargo-spellcheck
: https://github.com/drahnr/cargo-spellcheck/blob/master/hunspell-data/en_US.aff