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 ...@@ -26,6 +26,7 @@ cryptographic
deallocate deallocate
deallocation deallocation
decodable decodable
decrement
defrag defrag
defragmentation defragmentation
deploy deploy
...@@ -42,17 +43,23 @@ invariants ...@@ -42,17 +43,23 @@ invariants
kB kB
layed layed
multisig multisig
multi
postfix postfix
prefilled prefilled
recurse recurse
refcount
scalability scalability
scalable scalable
stdin stdin
stdout stdout
tuple
unordered
untyped untyped
validator validator
variadic variadic
Django/S
IP/S
NFT/S NFT/S
accessor/S accessor/S
allocator/S allocator/S
...@@ -67,6 +74,7 @@ hashmap/S ...@@ -67,6 +74,7 @@ hashmap/S
instantiation/S instantiation/S
layout/JG layout/JG
namespace/S namespace/S
parameterize/SD
runtime/S runtime/S
struct/S struct/S
vec/S vec/S
......
...@@ -3,6 +3,16 @@ lang = "en_US" ...@@ -3,6 +3,16 @@ lang = "en_US"
search_dirs = ["."] search_dirs = ["."]
extra_dictionaries = ["cargo_spellcheck.dic"] 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] [Hunspell.quirks]
allow_concatenation = true allow_concatenation = true
allow_dashes = true allow_dashes = true
...@@ -153,12 +153,12 @@ spellcheck: ...@@ -153,12 +153,12 @@ spellcheck:
stage: workspace stage: workspace
<<: *docker-env <<: *docker-env
script: 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 - 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 done
- for contract in ${DELEGATOR_SUBCONTRACTS}; do - 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 done
codecov: codecov:
......
Supports Markdown
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