Unverified Commit 056cf4c2 authored by Hernando Castano's avatar Hernando Castano Committed by GitHub
Browse files

Actually add `refcount` as word (#830)

* Actually add `refcount` as word

* Bump `cargo-spellcheck` verbosity

* Make CI spellcheck runs deterministic

* Add more words to dictionary

* Allow `parameterized` and `parameterizes`

* Add more words to dictionary
parent 98bf5a99
Pipeline #145196 passed with stages
in 27 minutes and 54 seconds
......@@ -26,6 +26,7 @@ cryptographic
deallocate
deallocation
decodable
decrement
defrag
defragmentation
deploy
......@@ -42,17 +43,23 @@ invariants
kB
layed
multisig
multi
postfix
prefilled
recurse
refcount
scalability
scalable
stdin
stdout
tuple
unordered
untyped
validator
variadic
Django/S
IP/S
NFT/S
accessor/S
allocator/S
......@@ -67,6 +74,7 @@ hashmap/S
instantiation/S
layout/JG
namespace/S
parameterize/SD
runtime/S
struct/S
vec/S
......
......@@ -3,6 +3,16 @@ lang = "en_US"
search_dirs = ["."]
extra_dictionaries = ["cargo_spellcheck.dic"]
# If set to `true`, the OS specific default search paths are skipped and only explicitly
# specified ones are used.
skip_os_lookups = true
# Use the builtin dictionaries if none were found in in the configured lookup paths.
# Usually combined with `skip_os_lookups=true` to enforce the `builtin` usage for
# consistent results across distributions and CI runs. Setting this will still use the
# dictionaries specified in `extra_dictionaries = [..]` for topic specific lingo.
use_builtin = true
[Hunspell.quirks]
allow_concatenation = true
allow_dashes = true
......@@ -153,12 +153,12 @@ spellcheck:
stage: workspace
<<: *docker-env
script:
- cargo spellcheck check --cfg=.config/cargo_spellcheck.toml --checkers hunspell --code 1
- cargo spellcheck check -vvv --cfg=.config/cargo_spellcheck.toml --checkers hunspell --code 1
- for example in examples/*/; do
cargo spellcheck check --cfg=.config/cargo_spellcheck.toml --checkers hunspell --code 1 ${example};
cargo spellcheck check -vvv --cfg=.config/cargo_spellcheck.toml --checkers hunspell --code 1 ${example};
done
- for contract in ${DELEGATOR_SUBCONTRACTS}; do
cargo spellcheck check --cfg=.config/cargo_spellcheck.toml --checkers hunspell --code 1 examples/delegator/${contract}/;
cargo spellcheck check -vvv --cfg=.config/cargo_spellcheck.toml --checkers hunspell --code 1 examples/delegator/${contract}/;
done
codecov:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment