aboutsummaryrefslogtreecommitdiff
path: root/scripts/fix_typos.sh
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-01-02 11:29:36 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-01-02 11:29:36 +0100
commitbe5778fa90586abd431fc02375870d71d2e3ba78 (patch)
treea8b51f31a6161b0ccf6e3075fc32235b466a675e /scripts/fix_typos.sh
parentd8d96cecce9c4ee3136e63e32d2ce952fa2ede56 (diff)
downloadPROJ-be5778fa90586abd431fc02375870d71d2e3ba78.tar.gz
PROJ-be5778fa90586abd431fc02375870d71d2e3ba78.zip
Typo fixes
Diffstat (limited to 'scripts/fix_typos.sh')
-rwxr-xr-xscripts/fix_typos.sh6
1 files changed, 3 insertions, 3 deletions
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