From be5778fa90586abd431fc02375870d71d2e3ba78 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Wed, 2 Jan 2019 11:29:36 +0100 Subject: Typo fixes --- scripts/fix_typos.sh | 6 +++--- scripts/typos_whitelist.txt | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/fix_typos.sh b/scripts/fix_typos.sh index fa3168f9..e8670700 100755 --- a/scripts/fix_typos.sh +++ b/scripts/fix_typos.sh @@ -46,9 +46,9 @@ if ! test -d fix_typos; then cd .. fi -EXCLUDED_FILES="*configure,config.status,config.sub,*/autom4te.cache/*,libtool,aclocal.m4,depcomp,ltmain.sh,*.pdf,./m4/*,./nad/epsg,./fix_typos/*,./docs/build/*" -WORDS_WHITE_LIST="metres,als,lsat,twon,ang,PJD_ERR_UNKNOW_UNIT_ID,PJD_ERR_LSAT_NOT_IN_RANGE,COLOR_GRAT" +EXCLUDED_FILES="*configure,config.status,config.sub,*/autom4te.cache/*,libtool,aclocal.m4,depcomp,ltmain.sh,*.pdf,./m4/*,./fix_typos/*,./docs/build/*,./src/*generated*,./test/googletest/*" +WORDS_WHITE_LIST="metres,als,lsat,twon,ang,PJD_ERR_LSAT_NOT_IN_RANGE,COLOR_GRAT" python3 fix_typos/codespell/codespell.py -w -i 3 -q 2 -S $EXCLUDED_FILES \ -x scripts/typos_whitelist.txt --words-white-list=$WORDS_WHITE_LIST \ - -D fix_typos/gdal_dict.txt ./include ./src ./docs ./cmake ./examples + -D fix_typos/gdal_dict.txt ./include ./src ./test ./docs ./cmake ./examples diff --git a/scripts/typos_whitelist.txt b/scripts/typos_whitelist.txt index e69de29b..98104423 100644 --- a/scripts/typos_whitelist.txt +++ b/scripts/typos_whitelist.txt @@ -0,0 +1 @@ +$EXE +units=us-ft +init=${INIT_FILE}:404 -E -f '%.3f' >>${OUT} <