Skip to content

Commit 056cf4c

Browse files
authored
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
1 parent 98bf5a9 commit 056cf4c

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed

.config/cargo_spellcheck.dic

+8
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ cryptographic
2626
deallocate
2727
deallocation
2828
decodable
29+
decrement
2930
defrag
3031
defragmentation
3132
deploy
@@ -42,17 +43,23 @@ invariants
4243
kB
4344
layed
4445
multisig
46+
multi
4547
postfix
4648
prefilled
4749
recurse
50+
refcount
4851
scalability
4952
scalable
5053
stdin
5154
stdout
55+
tuple
56+
unordered
5257
untyped
5358
validator
5459
variadic
5560

61+
Django/S
62+
IP/S
5663
NFT/S
5764
accessor/S
5865
allocator/S
@@ -67,6 +74,7 @@ hashmap/S
6774
instantiation/S
6875
layout/JG
6976
namespace/S
77+
parameterize/SD
7078
runtime/S
7179
struct/S
7280
vec/S

.config/cargo_spellcheck.toml

+10
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@ lang = "en_US"
33
search_dirs = ["."]
44
extra_dictionaries = ["cargo_spellcheck.dic"]
55

6+
# If set to `true`, the OS specific default search paths are skipped and only explicitly
7+
# specified ones are used.
8+
skip_os_lookups = true
9+
10+
# Use the builtin dictionaries if none were found in in the configured lookup paths.
11+
# Usually combined with `skip_os_lookups=true` to enforce the `builtin` usage for
12+
# consistent results across distributions and CI runs. Setting this will still use the
13+
# dictionaries specified in `extra_dictionaries = [..]` for topic specific lingo.
14+
use_builtin = true
15+
616
[Hunspell.quirks]
717
allow_concatenation = true
818
allow_dashes = true

.gitlab-ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -153,12 +153,12 @@ spellcheck:
153153
stage: workspace
154154
<<: *docker-env
155155
script:
156-
- cargo spellcheck check --cfg=.config/cargo_spellcheck.toml --checkers hunspell --code 1
156+
- cargo spellcheck check -vvv --cfg=.config/cargo_spellcheck.toml --checkers hunspell --code 1
157157
- for example in examples/*/; do
158-
cargo spellcheck check --cfg=.config/cargo_spellcheck.toml --checkers hunspell --code 1 ${example};
158+
cargo spellcheck check -vvv --cfg=.config/cargo_spellcheck.toml --checkers hunspell --code 1 ${example};
159159
done
160160
- for contract in ${DELEGATOR_SUBCONTRACTS}; do
161-
cargo spellcheck check --cfg=.config/cargo_spellcheck.toml --checkers hunspell --code 1 examples/delegator/${contract}/;
161+
cargo spellcheck check -vvv --cfg=.config/cargo_spellcheck.toml --checkers hunspell --code 1 examples/delegator/${contract}/;
162162
done
163163

164164
codecov:

0 commit comments

Comments
 (0)