Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 66cf905

Browse filesBrowse files
authored
Merge pull request #5668 from youknowone/cspell
update cspell dicts and ci order
2 parents d52081f + 7ac61f3 commit 66cf905
Copy full SHA for 66cf905

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner

58 files changed

+458
-284
lines changed

‎.cspell.dict/cpython.txt

Copy file name to clipboardExpand all lines: .cspell.dict/cpython.txt
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,19 @@ cellarg
1010
cellvar
1111
cellvars
1212
cmpop
13+
weakreflist
14+
XXPRIME
1315
dictoffset
1416
elts
17+
xstat
1518
excepthandler
19+
fileutils
1620
finalbody
1721
freevar
1822
freevars
1923
fromlist
2024
heaptype
25+
HIGHRES
2126
IMMUTABLETYPE
2227
kwonlyarg
2328
kwonlyargs

‎.cspell.dict/python-more.txt

Copy file name to clipboard
+104-3Lines changed: 104 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,152 @@
1+
abiflags
12
abstractmethods
3+
aenter
4+
aexit
25
aiter
36
anext
7+
appendleft
8+
argcount
49
arrayiterator
510
arraytype
611
asend
12+
asyncgen
713
athrow
14+
backslashreplace
815
basicsize
16+
bdfl
17+
bigcharset
18+
breakpointhook
919
cformat
20+
chunksize
1021
classcell
22+
closefd
1123
closesocket
1224
codepoint
1325
codepoints
26+
codesize
27+
contextvar
1428
cpython
29+
cratio
30+
dealloc
31+
debugbuild
1532
decompressor
1633
defaultaction
1734
descr
1835
dictcomp
1936
dictitems
2037
dictkeys
2138
dictview
39+
digestmod
40+
dllhandle
2241
docstring
2342
docstrings
2443
dunder
44+
endianness
45+
endpos
2546
eventmask
47+
excepthook
48+
exceptiongroup
49+
exitfuncs
50+
extendleft
51+
fastlocals
2652
fdel
53+
fedcba
2754
fget
2855
fileencoding
2956
fillchar
57+
fillvalue
3058
finallyhandler
59+
firstiter
60+
firstlineno
61+
fnctl
3162
frombytes
3263
fromhex
3364
fromunicode
3465
fset
3566
fspath
3667
fstring
3768
fstrings
69+
ftruncate
3870
genexpr
3971
getattro
72+
getcodesize
73+
getdefaultencoding
74+
getfilesystemencodeerrors
75+
getfilesystemencoding
4076
getformat
77+
getframe
4178
getnewargs
79+
getpip
80+
getrandom
81+
getrecursionlimit
82+
getrefcount
4283
getweakrefcount
4384
getweakrefs
85+
getwindowsversion
86+
gmtoff
87+
groupdict
88+
groupindex
89+
hamt
4490
hostnames
91+
idfunc
4592
idiv
4693
impls
94+
indexgroup
4795
infj
4896
instancecheck
4997
instanceof
98+
irepeat
5099
isabstractmethod
100+
isbytes
101+
iscased
102+
istext
51103
itemiterator
52104
itemsize
53105
iternext
106+
keepends
107+
keyfunc
54108
keyiterator
55109
kwarg
56110
kwargs
111+
kwdefaults
112+
kwonlyargcount
113+
lastgroup
57114
linearization
58115
linearize
59116
listcomp
117+
lvalue
60118
mappingproxy
119+
maskpri
120+
maxdigits
121+
MAXGROUPS
122+
MAXREPEAT
61123
maxsplit
124+
maxunicode
62125
memoryview
63126
memoryviewiterator
64127
metaclass
65128
metaclasses
66129
metatype
130+
mformat
67131
mro
68132
mros
133+
multiarch
134+
namereplace
69135
nanj
136+
nbytes
137+
ncallbacks
70138
ndigits
71139
ndim
140+
nlocals
72141
nonbytes
73142
origname
74143
posixsubprocess
144+
posonly
145+
posonlyargcount
146+
profilefunc
147+
pycodecs
148+
pycs
75149
pyexpat
76-
pytraverse
77150
PYTHONDEBUG
78151
PYTHONHOME
79152
PYTHONINSPECT
@@ -82,11 +155,19 @@ PYTHONPATH
82155
PYTHONPATH
83156
PYTHONVERBOSE
84157
PYTHONWARNINGS
158+
pytraverse
85159
qualname
160+
quotetabs
86161
radd
87162
rdiv
88163
rdivmod
164+
readall
165+
readbuffer
89166
reconstructor
167+
releaselevel
168+
reverseitemiterator
169+
reverseiterator
170+
reversekeyiterator
90171
reversevalueiterator
91172
rfloordiv
92173
rlshift
@@ -95,22 +176,42 @@ rpow
95176
rrshift
96177
rsub
97178
rtruediv
179+
rvalue
98180
scproxy
99181
setattro
100182
setcomp
101183
showwarnmsg
102-
warnmsg
184+
signum
185+
slotnames
103186
stacklevel
187+
stacksize
188+
startpos
104189
subclasscheck
105190
subclasshook
191+
suboffset
192+
sumprod
193+
surrogateescape
194+
surrogatepass
195+
sysconfigdata
196+
sysvars
197+
titlecased
198+
unimportable
106199
unionable
107200
unraisablehook
201+
unsliceable
202+
urandom
108203
valueiterator
109204
vararg
110205
varargs
111206
varnames
112207
warningregistry
208+
warnmsg
209+
warnoptions
113210
warnopts
114211
weakproxy
115212
winver
116-
xopts
213+
withdata
214+
xmlcharrefreplace
215+
xoptions
216+
xopts
217+
yieldfrom

‎.cspell.dict/rust-more.txt

Copy file name to clipboardExpand all lines: .cspell.dict/rust-more.txt
+24-1Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,45 +3,68 @@ bidi
33
biguint
44
bindgen
55
bitflags
6+
bitor
67
bstr
78
byteorder
9+
byteset
10+
caseless
811
chrono
912
consts
13+
cranelift
1014
cstring
15+
datelike
16+
deserializer
1117
flate2
1218
fract
19+
getres
1320
hasher
21+
hexf
22+
hexversion
1423
idents
24+
illumos
1525
indexmap
1626
insta
1727
keccak
1828
lalrpop
29+
lexopt
1930
libc
31+
libloading
2032
libz
2133
longlong
2234
Manually
2335
maplit
2436
memmap
37+
memmem
2538
metas
2639
modpow
40+
msvc
41+
muldiv
2742
nanos
2843
objclass
2944
peekable
3045
powc
3146
powf
3247
prepended
3348
punct
49+
puruspe
3450
replacen
3551
rsplitn
3652
rustc
3753
rustfmt
54+
rustyline
3855
seekfrom
56+
siphash
3957
splitn
4058
subsec
59+
thiserror
60+
timelike
4161
timsort
4262
trai
4363
ulonglong
4464
unic
4565
unistd
66+
unsync
67+
wasmbind
68+
widestring
4669
winapi
47-
winsock
70+
winsock

‎.cspell.json

Copy file name to clipboardExpand all lines: .cspell.json
+17Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,24 @@
4747
// words - list of words to be always considered correct
4848
"words": [
4949
// RustPython
50+
"aiterable",
51+
"alnum",
5052
"baseclass",
53+
"boxvec",
5154
"Bytecode",
5255
"cfgs",
5356
"codegen",
57+
"coro",
5458
"dedentations",
5559
"dedents",
5660
"deduped",
5761
"downcasted",
5862
"dumpable",
63+
"emscripten",
64+
"excs",
65+
"finalizer",
5966
"GetSet",
67+
"groupref",
6068
"internable",
6169
"makeunicodedata",
6270
"miri",
@@ -100,6 +108,15 @@
100108
"unraisable",
101109
"wasi",
102110
"zelf",
111+
// unix
112+
"CLOEXEC",
113+
"codeset",
114+
"endgrent",
115+
"getrusage",
116+
"nanosleep",
117+
"WRLCK",
118+
// win32
119+
"birthtime",
103120
],
104121
// flagWords - list of words to be always considered incorrect
105122
"flagWords": [

‎.github/workflows/ci.yaml

Copy file name to clipboardExpand all lines: .github/workflows/ci.yaml
+8-7Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -313,13 +313,6 @@ jobs:
313313
runs-on: ubuntu-latest
314314
steps:
315315
- uses: actions/checkout@v4
316-
- name: install extra dictionaries
317-
run: npm install @cspell/dict-en_us @cspell/dict-cpp @cspell/dict-python @cspell/dict-rust @cspell/dict-win32 @cspell/dict-shell
318-
- name: spell checker
319-
uses: streetsidesoftware/cspell-action@v6
320-
with:
321-
files: '**/*.rs'
322-
incremental_files_only: true
323316
- uses: dtolnay/rust-toolchain@stable
324317
with:
325318
components: rustfmt, clippy
@@ -339,6 +332,14 @@ jobs:
339332
- name: check wasm code with prettier
340333
# prettier doesn't handle ignore files very well: https://github.com/prettier/prettier/issues/8506
341334
run: cd wasm && git ls-files -z | xargs -0 prettier --check -u
335+
# Keep cspell check as the last step. This is optional test.
336+
- name: install extra dictionaries
337+
run: npm install @cspell/dict-en_us @cspell/dict-cpp @cspell/dict-python @cspell/dict-rust @cspell/dict-win32 @cspell/dict-shell
338+
- name: spell checker
339+
uses: streetsidesoftware/cspell-action@v6
340+
with:
341+
files: '**/*.rs'
342+
incremental_files_only: true
342343

343344
miri:
344345
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip:ci') }}

‎common/src/boxvec.rs

Copy file name to clipboardExpand all lines: common/src/boxvec.rs
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// cspell:ignore
12
//! An unresizable vector backed by a `Box<[T]>`
23
34
#![allow(clippy::needless_lifetimes)]

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.