Skip to content

Commit

Permalink
Upgrade check-spelling to v0.0.22
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Soref <[email protected]>
  • Loading branch information
jsoref committed Nov 15, 2023
1 parent 9e9a931 commit c70e3ad
Show file tree
Hide file tree
Showing 9 changed files with 381 additions and 657 deletions.
4 changes: 3 additions & 1 deletion .github/actions/spelling/advice.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ https://www.regexplanet.com/advanced/perl/) yours before committing to verify it

* well-formed pattern.

If you can write a [pattern](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-patterns) that would match it,
If you can write a [pattern](
https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-patterns
) that would match it,
try adding it to the `patterns.txt` file.

Patterns are Perl 5 Regular Expressions - you can [test](
Expand Down
15 changes: 5 additions & 10 deletions .github/actions/spelling/allow.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ deserializing
dest
devblogs
differentpath
DISMAPI
DIRECTONLY
DISMAPI
distro
dll
dllexport
Expand Down Expand Up @@ -265,8 +265,8 @@ INVALIDSID
iomanip
iostream
IPinning
IPortable
ipmo
IPortable
ISAPPROVEDFOROUTPUT
isspace
istream
Expand Down Expand Up @@ -322,6 +322,8 @@ mrm
msbuild
msdata
MSDN
MSHCTX
MSHLFLAGS
msi
msiexec
msix
Expand All @@ -331,8 +333,6 @@ msixmgr
msixsdk
msixsdkx
msixtest
MSHCTX
MSHLFLAGS
msrc
Multifile
Multimatch
Expand Down Expand Up @@ -463,6 +463,7 @@ removemanifest
removepin
removeportablefile
repolibtest
REQS
requeue
rescap
resetpins
Expand All @@ -474,7 +475,6 @@ RESTSOURCE
resw
resx
rethrowing
REQS
roadmap
robuffer
rowcount
Expand Down Expand Up @@ -578,7 +578,6 @@ symlink
symlinks
symlinktarget
Sys
sz
TARG
TARGETDIR
targetentrypoint
Expand Down Expand Up @@ -611,7 +610,6 @@ triaged
trunc
TRUSTEDPEOPLE
trx
tt
ttl
typedef
typename
Expand Down Expand Up @@ -674,7 +672,6 @@ versioning
VERYSILENT
VFT
visualstudio
vm
VOS
vso
wapproj
Expand Down Expand Up @@ -728,5 +725,3 @@ XTOKEN
xunit
yaml
yml
yy
zh
Loading

1 comment on commit c70e3ad

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@check-spelling-bot Report

🔴 Please review

See the 📜action log or 📝 job summary for details.

Unrecognized words (599)
abcd
ABORTIFHUNG
accepteula
ackages
acl
adjacents
adml
admx
AFAIK
aicli
AICLIC
allusers
alreadyinstalled
AMap
amrutha
ansistring
APARTMENTTHREADED
apfn
apicontract
apiset
appinstallertest
applic
appname
appshutdown
APPTERMINATION
aps
argumentlist
ARMNT
arp
arphelper
ASAN
ASequence
ashpatil
Ashwini
ASwitch
ASYNCRTIMP
Atest
ATL
AType
AUrl
Authenticode
axo
azurewebsites
bak
bcp
BEFACEF
bfd
BFirst
bght
BITMAPINFOHEADER
bkup
blargle
blockedbypolicy
blogs
bluetooth
bomgar
BOMs
boop
boundparms
bpp
Browsable
BSODs
btp
buildhelp
BUILDOUTDIR
buildtransitive
cachefile
cancelledbyuser
casemap
casemappings
cch
CDEF
centralus
certmgr
cfr
cinq
CLASSNOTREG
CLIE
CLOSEAPP
cloudapp
clsctx
clsids
CODEOWNERS
COINIT
COMGLB
commandline
contactsupport
contentfiles
contoso
contractversion
corecrt
count'th
countof
countryregion
coveragexml
CPIL
createmanifestmetadata
csdef
CSTR
cswinrt
csx
ctc
curated
currentuser
DACL
datetimeoffset
Dbg
dbmdl
dbproj
Dcom
debian
dedupe
deigh
deleteifnotneeded
DENYWR
dependant
desktopappinstaller
devhome
dic
diskfull
dism
dlldata
dllimport
dnld
Dobbeleer
docstates
DUPLICATEALIAS
dustojnikhummer
dvinns
ecf
ecfr
ecfrbrowse
ECustom
EFGH
EFile
efileresource
ENDSESSION
EPester
epth
EQU
ERRORONEXIT
ESource
ESRB
etest
etl
execustom
EXEHASH
experimentalfeatures
fdw
FECAFEB
fedorapeople
fileinuse
Filtercriteria
fintimes
Fixfor
flargle
flexera
FOF
foldc
foldcase
FOLDERID
FORPARSING
FULLMUTEX
FULLWIDTH
fundraiser
fuzzer
fzanollo
gcpi
GESMBH
GHS
gitlab
gity
goku
GRPICONDIR
GRPICONDIRENTRY
guiddef
Hackathon
hashtable
helplib
helplibrary
hhc
hhk
hhp
hhx
highcontrast
hkey
hlocal
hmodule
Howto
hre
hresults
hrow
hwnd
IARP
IAttachment
ICONDIRENTRY
ICONIMAGE
idl
idx
IEnum
IFACEMETHODIMP
IHelp
iid
IISOn
ilemode
img
inproc
installinprogress
INSTALLPROPERTY
installshield
instream
insufficientmemory
Intelli
INTRESOURCE
invalidparameter
iobj
IPackage
ipch
ipdb
isable
IServer
ishelp
ISQ
ISVs
itr
IWin
JArray
JDictionary
jdk
jfearn
jfm
jmconfig
JObject
jpalardy
JREs
jrsoftware
jsoncpp
JToken
JValue
Kaido
KNOWNFOLDERID
ktf
ldcase
ldf
learnxinyminutes
libsolv
libyaml
Lifecycle
liv
liwpx
localizationpriority
localsource
Logon
LOWORD
LPARAM
lpdw
lpfn
LPGRPICONDIR
LPGRPICONDIRENTRY
LPICONDIR
LPICONDIRENTRY
LPICONIMAGE
lpitemidlist
lpsz
LPW
LPWCH
LRESULT
LSTATUS
LTDA
luffy
Luffytaro
maclachlan
malware
mapdatafolding
mapview
Maxed
maxvalue
maybenull
MBH
mdf
mdmp
MDs
megamorf
meme
mfractor
midl
minexample
minidump
minschema
missingdependency
mkgmtime
MMmmbbbb
mof
monicka
MPNS
msdownload
msft
msftrubengu
MSIHASH
MSIXHASH
msstore
Mugiwara
Multideclaration
mycustom
myinstalldir
mylog
mysilent
mysilentwithprogress
nativehandle
NBLGGH
ncb
NCrunch
ndf
NESTEDINSTALLER
netlify
NETSDK
Newtonsoft
NNS
NOAGGREGATION
NOCLOSE
NOCRLF
NOEXPAND
NOLINKINFO
nonetwork
NONFOLDERS
nonterminated
NOREMOVE
normer
NOSEARCH
NOSEPARATOR
notalostreference
NOTAPROPERTY
notmatch
NOTRACK
NOUPDATE
npmjs
Nsight
nsis
ntvs
nuffing
NVidia
nvuser
objbase
objidl
Objs
odx
ofile
oop
opendb
opensdf
OPTOUT
osfhandle
Outptr
OVERLAPPEDWINDOW
packageinuse
packageinusebyapplication
PACL
paket
PARAMETERMAP
pathparts
Patil
pcb
PCCERT
PCs
pcwsz
PEGI
PFM
pfn
pfxpath
pgc
pgd
Pherson
pidb
pidl
pidlist
pkgmgr
pkindex
pkix
plg
PMS
positionals
powershellgallery
powertoys
pri
processthreads
productcode
PRODUCTICON
proxystub
pscustomobject
psess
PSHOST
psobject
ptstr
PTVS
publishproj
publishsettings
pvk
pvm
pwabuilder
PWAs
PWSTR
pycache
QUERYENDSESSION
qword
rcf
rdl
rebootinitiated
rebootrequiredforinstall
rebootrequiredtofinish
Redist
REFIID
REGDB
regexes
REGSAM
relativefilepath
reparse
restsource
RGBQUAD
rgex
rgp
rgpsz
riid
roblox
ronomon
rosoft
rowids
roy
rptproj
RRF
rrr
rsp
rsuser
RTTI
runspace
runtimeclass
ryfu
rzkzqaqjwj
SARL
sbr
scc
schematab
schemaview
Scm
Screenshot
sddl
sdf
SECUREFILEPATH
secureobject
securestring
seof
servercert
servercertificate
setmetadatabymanifestid
SETTINGCHANGE
SETTINGMAPPING
SHCONTF
SHGDN
SHOWNORMAL
Sideload
SIGNATUREHASH
Silverlight
Sku
SLAPI
SMTO
snk
sortof
sourceforge
SOURCESDIRECTORY
sourceversion
spamming
SPAPI
Srinivasan
SRL
srs
STARTUPINFOW
STDMETHODCALLTYPE
STRRET
stylecop
subkey
suo
superstring
svclog
swervy
SYD
SYG
sysrefcomp
systemnotsupported
Tagit
taskhostw
TCpp
tcs
Telerik
TEMPDIRECTORY
temppath
testdata
testexampleinstaller
thiscouldbeapc
threehundred
timespan
tlb
Tlg
tlh
tli
tombstoned
TOperation
TOptions
tpl
TProgress
transitioning
TResult
TReturn
trimstart
TState
TStatus
TType
ublish
UCase
ucasemap
UChars
ucnv
uec
UNAVAIL
uninitialize
unins
uninstallation
uninstaller
uninstallprevious
uninstalls
unknwn
Unknwnbase
unparsable
unvirtualized
UParse
upgradable
upgradecode
URLZONE
userfilesetting
userosscache
userprefs
userprofile
uwp
VALUENAMECASE
vbw
vclib
VERSIE
vns
vsconfig
vsp
vspscc
vspx
vssscc
vstest
wcex
WDAG
webpages
website
WERSJA
wesome
wfsopen
wgetenv
Whatif
windir
windowsdeveloper
winerror
wingetconfigroot
wingetcreate
wingetdev
wingetutil
winreg
winrtact
winstring
withstarts
Wnd
WNDCLASSEX
workflows
WPARAM
Wpp
wpr
wprp
wputenv
wsb
wsl
wsv
wto
wwinmain
WZDNCRFJ
xcopy
XFile
XManifest
XMUGIWARAMODULE
XPLATSTR
XRESOURCEZORO
xsi
yamato
yamlcreateps
yao
Zanollo
ZIPHASH
zoro
To accept these unrecognized words as correct, you could run the following commands

... in a clone of the [email protected]:check-spelling-sandbox/winget-cli.git repository
on the spell-check-with-spelling branch (ℹ️ how do I use this?):

curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/v0.0.22/apply.pl' |
perl - 'https://github.com/check-spelling-sandbox/winget-cli/actions/runs/6872858585/attempts/1'
Available 📚 dictionaries could cover words not in the 📘 dictionary
Dictionary Entries Covers Uniquely
cspell:aws/aws.txt 218 4 3
cspell:java/src/java.txt 2464 3 3
cspell:java/src/java-terms.txt 920 3 2
cspell:golang/dict/go.txt 2099 3 2
cspell:html/dict/html.txt 2060 3 1

Consider adding them (in .github/workflows/spelling3.yml) for uses: check-spelling/[email protected] in its with:

      with:
        extra_dictionaries:
          cspell:aws/aws.txt
          cspell:java/src/java.txt
          cspell:java/src/java-terms.txt
          cspell:golang/dict/go.txt
          cspell:html/dict/html.txt

To stop checking additional dictionaries, add (in .github/workflows/spelling3.yml) for uses: check-spelling/[email protected] in its with:

check_extra_dictionaries: ''
Pattern suggestions ✂️ (1)

You could add these patterns to .github/actions/spelling/patterns.txt:

# Automatically suggested patterns
# hit-count: 3 file-count: 1
# Non-English
[a-zA-Z]*[ÀÁÂÃÄÅÆČÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝßàáâãäåæčçèéêëìíîïðñòóôõöøùúûüýÿĀāŁłŃńŅņŒœŚśŠšŜŝŸŽžź][a-zA-Z]{3}[a-zA-ZÀÁÂÃÄÅÆČÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝßàáâãäåæčçèéêëìíîïðñòóôõöøùúûüýÿĀāŁłŃńŅņŒœŚśŠšŜŝŸŽžź]*|[a-zA-Z]{3,}[ÀÁÂÃÄÅÆČÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝßàáâãäåæčçèéêëìíîïðñòóôõöøùúûüýÿĀāŁłŃńŅņŒœŚśŠšŜŝŸŽžź]|[ÀÁÂÃÄÅÆČÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝßàáâãäåæčçèéêëìíîïðñòóôõöøùúûüýÿĀāŁłŃńŅņŒœŚśŠšŜŝŸŽžź][a-zA-Z]{3,}

Errors (3)

See the 📜action log or 📝 job summary for details.

❌ Errors Count
ℹ️ candidate-pattern 1
❌ check-file-path 380
❌ forbidden-pattern 49

See ❌ Event descriptions for more information.

If the flagged items are 🤯 false positives

If items relate to a ...

  • binary file (or some other file you wouldn't want to check at all).

    Please add a file path to the excludes.txt file matching the containing file.

    File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.

    ^ refers to the file's path from the root of the repository, so ^README\.md$ would exclude README.md (on whichever branch you're using).

  • well-formed pattern.

    If you can write a pattern that would match it,
    try adding it to the patterns.txt file.

    Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.

    Note that patterns can't match multiline strings.

Please sign in to comment.