Skip to content

Commit

Permalink
scripts/fix_typos.sh: extend authorized words [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Oct 5, 2024
1 parent 3c00e08 commit d09bdd0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/fix_typos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ AUTHORIZED_LIST="$AUTHORIZED_LIST,nParms,ProjParm,ProjParmId,GTIFFetchProjParms,
AUTHORIZED_LIST="$AUTHORIZED_LIST,lon,Lon,LON"
AUTHORIZED_LIST="$AUTHORIZED_LIST,MM_MARCA_VERSIO_1_DBF_ESTESA,MM_PERIMETRE_INIT_SIZE,MM_PERIMETRE_DECIMALS_SIZE,szMMNomCampPerimetreDefecte,MM_CAMP_ES_PERIMETRE,szMMNomCampNPoligonsDefecte,MM_CAMP_MOSTRABLE_QUAN_TE_CONTINGUT,MM_CAMP_ES_PERIMETRE_3D,SECTION_VERSIO"
AUTHORIZED_LIST="$AUTHORIZED_LIST,oTe"
AUTHORIZED_LIST="$AUTHORIZED_LIST,ADJ_PARM,NUM_ADJ_PARM,ADJ_PARM_ID,UE_FLAG"

python3 fix_typos/codespell/codespell.py -w -i 3 -q 2 -S "$EXCLUDED_FILES,./autotest/*,./build*/*" \
-x scripts/typos_allowlist.txt --words-white-list=$AUTHORIZED_LIST \
Expand Down

0 comments on commit d09bdd0

Please sign in to comment.