update cspell config (#7452)

* add allowCompoundWords

* cspell dict
This commit is contained in:
Jeong, YunWon authored and GitHub committed 2026-03-17 20:18:31 +09:00
1 parent 80459c8367
commit 60c1f77288
2 files changed
+41 -74

No files matched your search

+32
View File
@@ -0,0 +1,32 @@
cfgs
miri
py
pyarg
pyargs
pyast
pyattr
pyclass
pyclassmethod
pyexception
pyfunction
pygetset
pyimpl
pylib
pymath
pymethod
pymodule
pyname
pyobj
pyobject
pypayload
pyref
pyslot
pystaticmethod
pystone
pystr
pystruct
pystructseq
pytype
rustix
struc
zelf
+9 -74
View File
@@ -9,6 +9,7 @@
"@cspell/dict-win32/cspell-ext.json",
"@cspell/dict-shell/cspell-ext.json",
],
"allowCompoundWords": true,
// language - current active spelling language
"language": "en",
// dictionaries - list of the names of the dictionaries to use
@@ -16,6 +17,7 @@
"cpython", // Sometimes keeping same terms with cpython is easy
"python-more", // Python API terms not listed in python
"rust-more", // Rust API terms not listed in rust
"rustpython", // RustPython derive macros and internal terms
"en_US",
"softwareTerms",
"c",
@@ -38,6 +40,10 @@
{
"name": "rust-more",
"path": "./.cspell.dict/rust-more.txt"
},
{
"name": "rustpython",
"path": "./.cspell.dict/rustpython.txt"
}
],
"ignorePaths": [
@@ -46,112 +52,41 @@
"Lib/**"
],
// words - list of words to be always considered correct
// (compound words like pyarg, baseclass, microbenchmark are handled by allowCompoundWords)
"words": [
"RUSTPYTHONPATH",
// RustPython terms
"aiterable",
"alnum",
"baseclass",
"boxvec",
"Bytecode",
"cfgs",
"codegen",
"coro",
"dedentations",
"dedents",
"deduped",
"deoptimize",
"downcastable",
"downcasted",
"dumpable",
"emscripten",
"excs",
"finalizer",
"finalizers",
"GetSet",
"groupref",
"internable",
"interps",
"jitted",
"jitting",
"kwonly",
"lossily",
"makeunicodedata",
"mcache",
"microbenchmark",
"microbenchmarks",
"miri",
"notrace",
"oparg",
"openat",
"pyarg",
"pyargs",
"pyast",
"PyAttr",
"pyc",
"PyClass",
"PyClassMethod",
"PyException",
"PyFunction",
"pygetset",
"pyimpl",
"pylib",
"pymath",
"pymember",
"PyMethod",
"PyModule",
"pyname",
"pyobj",
"PyObject",
"pypayload",
"PyProperty",
"pyref",
"PyResult",
"pyslot",
"PyStaticMethod",
"pystone",
"pystr",
"pystruct",
"pystructseq",
"pytrace",
"pytype",
"reducelib",
"richcompare",
"rustix",
"RustPython",
"significand",
"struc",
"summands", // plural of summand
"sysmodule",
"tracebacks",
"typealiases",
"typevartuples",
"uncollectable",
"unhashable",
"uninit",
"summands",
"unraisable",
"unresizable",
"varint",
"wasi",
"weaked",
"zelf",
// unix
"posixshmem",
"shm",
"CLOEXEC",
"codeset",
"endgrent",
"gethrvtime",
"getrusage",
"nanosleep",
"sigaction",
"sighandler",
"WRLCK",
// win32
"birthtime",
"IFEXEC",
// "stat"
"FIRMLINK",
"IFEXEC"
],
// flagWords - list of words to be always considered incorrect
"flagWords": [