aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-11-28 21:59:28 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-11-28 21:59:28 +0100
commitd12a3df364a8933520341bf739b9af6ebf2971d7 (patch)
tree7b9e4c56711c3fc1c106ec96c94b8976d4d1c437 /scripts
parentcef7a8a209717938a08e909dcc03c05b09c5cd77 (diff)
downloadPROJ-d12a3df364a8933520341bf739b9af6ebf2971d7.tar.gz
PROJ-d12a3df364a8933520341bf739b9af6ebf2971d7.zip
scripts/fix_typos.sh: tunings [ci skip]
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/fix_typos.sh2
-rw-r--r--scripts/typos_whitelist.txt3
2 files changed, 3 insertions, 2 deletions
diff --git a/scripts/fix_typos.sh b/scripts/fix_typos.sh
index 8ba4c09a..d094f0f3 100755
--- a/scripts/fix_typos.sh
+++ b/scripts/fix_typos.sh
@@ -47,7 +47,7 @@ if ! test -d fix_typos; then
fi
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/*,./include/proj/internal/nlohmann/json.hpp,*.before_reformat"
-WORDS_WHITE_LIST="metres,als,lsat,twon,ang,PJD_ERR_LSAT_NOT_IN_RANGE,COLOR_GRAT"
+WORDS_WHITE_LIST="metres,als,lsat,twon,ang,PJD_ERR_LSAT_NOT_IN_RANGE,COLOR_GRAT,interm"
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 \
diff --git a/scripts/typos_whitelist.txt b/scripts/typos_whitelist.txt
index 98104423..1dcd03dd 100644
--- a/scripts/typos_whitelist.txt
+++ b/scripts/typos_whitelist.txt
@@ -1 +1,2 @@
-$EXE +units=us-ft +init=${INIT_FILE}:404 -E -f '%.3f' >>${OUT} <<EOF \ No newline at end of file
+$EXE +units=us-ft +init=${INIT_FILE}:404 -E -f '%.3f' >>${OUT} <<EOF
+ (`#404 <https://github.com/OSGeo/proj.4/issues/404>`_)