Update codespell.yml

Adds more typos to check and fix
This commit is contained in:
isaak654 2022-12-13 12:49:38 +01:00
parent 62bde369e0
commit 656c722e38
No known key found for this signature in database
GPG Key ID: 59D402040437EC44
1 changed files with 7 additions and 0 deletions

View File

@ -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" \