Skip to content

Commit

Permalink
Check all strings
Browse files Browse the repository at this point in the history
Signed-off-by: Szymon Karpiński <skarpinski@nvidia.com>
  • Loading branch information
szkarpinski committed Jan 19, 2024
1 parent 545d1f6 commit 2b4d502
Show file tree
Hide file tree
Showing 2 changed files with 123 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tools/spelling/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
"include/**/*.h",
],
"ignorePaths": [
"**/_autograph/**"
"**/_autograph/**",
"**/*_test.*",
"**/test_*"
],
"overrides": [
// Force `*.cu` and `*.cuh` files to be treated as `cpp` files:
Expand All @@ -49,17 +51,15 @@
"allowCompoundWords": false,
"includeRegExpList": [
"comments",
// Match strings in schemas
"/(DocStr|AddOptionalArg|InputDox|Deprecate|AddArg|AddArgIfNotExisting|AddInitializedArg|AddOutput)\\(\\s*([^,)]+,\\s+)*R?\"[^\"]*\"/g",
"string",
],
},
{
"languageId": "python",
"allowCompoundWords": false,
"includeRegExpList": [
"comments",
// Match '''long strings''' after a ':'
"/:\\s+(\"\"\"|''')[^\\1]*?\\1/g",
"string"
]
}
]
Expand Down
118 changes: 118 additions & 0 deletions tools/spelling/cspell_dicts/cspell_dict.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
aaabb
aarch
alexey
allclose
Expand All @@ -13,31 +14,50 @@ astype
autoaugment
autoserialization
autoserialize
autotune
avformat
avio
awolant
baaba
bayered
bboxes
becasue
begining
bframes
bitstream
bitxor
bochkovskiy
bottlenecked
bysource
caffe
callables
carray
cbrt
cdhw
cepstral
cfdhw
cfhw
cgroups
checkpointed
checkpointing
chien
chisquare
ckpt
cloudpickle
codepath
coeffs
convolutional
ctypes
cuda
cufft
cufile
cupy
cuvid
dataloaders
dataloading
datanode
datanodes
dcbaabcdeffedcbaabcd
ddof
debayer
debayering
Expand All @@ -49,39 +69,61 @@ descs
dhwc
dlopen
dlpack
dltensor
dnim
docstrings
dowmixing
downmix
downmixing
downscaling
dragomir
dtype
dtypes
dumitru
edcbabcdefedcbabcd
edgeitems
erhan
externalsource
farg
fastmath
fcdhw
fchw
fdata
fdhwc
fdiv
ffts
fhwc
fileref
filterbank
flac
floordiv
fndefs
fpow
frecord
frecords
functio
gast
gbrg
getitem
glibcxx
graphname
grayscale
grbg
grfmt
gridmask
hann
hparams
iccv
idata
idct
idth
idxn
idxs
ihdr
ilsvrc
imagenet
imgcodec
imgcodecs
inhost
inputless
interp
Expand All @@ -99,14 +141,27 @@ klecki
ksize
ksztenderski
ktokarski
kwargs
kwdefaults
lanczos
ldali
letterboxed
libasan
libclang
libcuda
libcufft
libcufile
libcustomdummyplugin
libcustomplugin
libjpeg
libjpegturbo
liblmdb
libnppc
libnppicc
libnppig
libnvcuvid
libnvidia
libnvjpeg
librispeech
librosa
librosa's
Expand All @@ -120,11 +175,15 @@ loging
longlong
lsan
ltrb
macroblocks
makefiles
manylinux
mapsx
mapsy
mapx
mapy
matplot
matroska
mdan
mfcc
mfccs
Expand All @@ -140,20 +199,31 @@ multibox
multigpu
multiproc
multistep
multivec
mxnet
naxis
nchannels
nchw
ncolors
ndarray
ndarrays
ndct
ndim
ndims
nemo
newaxis
nextafter
nfchw
nfft
nfhwc
nfill
nfilter
nhwc
nimages
njit
nonconvex
nonkey
nonpositive
nonsilent
nopython
nosetest
Expand All @@ -162,15 +232,23 @@ nsamples
numba
numpy
numpydoc
nvdec
nvdecode
nvfs
nvjpeg
nvml
nvtx
nvutils
nvvl
o'shaughnessy's
odirect
ofapi
opencv
opencv's
opticalflow
orelse
orizontal
overlayfs
overriden
overscan
overscans
Expand All @@ -185,13 +263,18 @@ pmap
pmapped
posterize
posterizes
postprocess
postprocessor
prebuild
prebuilding
precompute
preconfigure
preds
preemph
preemphasis
preprocess
presampling
presize
presized
presizing
pretrained
Expand All @@ -200,26 +283,44 @@ psnr
pylance
pyver
quickstart
radd
rdiv
reencoding
reexpose
reexposed
refeed
repr
reraised
resampler
rfloordiv
rggb
rles
rmul
rois
rpow
rsub
rtld
rtruediv
rtype
runtimes
rxor
sbsa
scharstein
scikit
separatelly
sharded
shaughnessy
shortcutting
sinewaves
sinograms
sintel
slaney
slaney's
smem
sndfile
softmax
spanev
spectogram
staniewzki
stdc
stds
Expand All @@ -228,33 +329,50 @@ strided
suballocates
subexpression
subfolders
suboptimally
subpolicies
subpolicy
subsamples
subsampling
subshape
subtensor
svhn
szegedy
taskset
tensorboard
tensorlist
tfrecord
tfrecords
tidx
toannexb
topk
trivialaugment
truediv
tvec
typestr
ubsan
uncoalesced
undoc
unindented
unmmaped
upsampling
upscaling
uyvy
valset
varkw
vgpu
vorbis
voxels
webdataset
wexceptions
wmultichar
wterminate
wunused
xflip
xnor
xyflip
xywh
yflip
yolo
yuyv
ztile

0 comments on commit 2b4d502

Please sign in to comment.