parent
62bde369e0
commit
656c722e38
|
@ -38,6 +38,13 @@ jobs:
|
|||
wget -q https://raw.githubusercontent.com/codespell-project/codespell/master/codespell_lib/data/dictionary.txt
|
||||
wget -q https://raw.githubusercontent.com/codespell-project/codespell/master/codespell_lib/data/dictionary_rare.txt
|
||||
wget -q https://raw.githubusercontent.com/codespell-project/codespell/master/codespell_lib/data/dictionary_code.txt
|
||||
# Add further typos to check
|
||||
echo 'behavioure->behaviour' >> dictionary.txt
|
||||
echo 'blockign->blocking' >> dictionary.txt
|
||||
echo 'ate->are' >> dictionary.txt
|
||||
echo 'linve->live' >> dictionary.txt
|
||||
echo 'actuallly->actually' >> dictionary.txt
|
||||
echo 'asynchroniusly->asynchronously' >> dictionary.txt
|
||||
# Only lowercase letters are allowed in --ignore-words-list
|
||||
codespell --dictionary=dictionary.txt --dictionary=dictionary_rare.txt --dictionary=dictionary_code.txt \
|
||||
--ignore-words-list="wil,unknwn,tolen,pevent,doubleclick,parm,parms,etcp,ois,ba,ptd,modell,namesd,stdio,uint,errorstring,ontext,atend,deque,ecounter,nmake,namess,inh,daa,varient" \
|
||||
|
|
Loading…
Reference in New Issue