[GRASS-SVN] r73568 - grass/trunk/tools

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Oct 18 11:57:00 PDT 2018


Author: neteler
Date: 2018-10-18 11:57:00 -0700 (Thu, 18 Oct 2018)
New Revision: 73568

Modified:
   grass/trunk/tools/fix_typos.sh
Log:
fix_typos.sh script: GRASS related whitelist started

Modified: grass/trunk/tools/fix_typos.sh
===================================================================
--- grass/trunk/tools/fix_typos.sh	2018-10-17 20:33:17 UTC (rev 73567)
+++ grass/trunk/tools/fix_typos.sh	2018-10-18 18:57:00 UTC (rev 73568)
@@ -64,9 +64,13 @@
 WORDS_WHITE_LIST="$WORDS_WHITE_LIST,CPL_SUPRESS_CPLUSPLUS,SRP_NAM,ADRG_NAM,'SRP_NAM,AuxilaryTarget"
 # libtiff
 WORDS_WHITE_LIST="$WORDS_WHITE_LIST,THRESHHOLD_BILEVEL,THRESHHOLD_HALFTONE,THRESHHOLD_ERRORDIFFUSE"
+# GRASS GIS
+WORDS_WHITE_LIST="$WORDS_WHITE_LIST,thru"
 
-touch fix_typos/typos_whitelist.txt
-python3 fix_typos/codespell/codespell.py -w -i 3 -q 2 -S $EXCLUDED_FILES \
-    -x fix_typos/typos_whitelist.txt --words-white-list=$WORDS_WHITE_LIST \
-    -D fix_typos/grassgis_dict.txt  .
+MYPATH=`pwd`
 
+touch $MYPATH/fix_typos/typos_whitelist.txt
+python3 $MYPATH/fix_typos/codespell/codespell.py -w -i 3 -q 2 -S $EXCLUDED_FILES \
+       -x $MYPATH/fix_typos/typos_whitelist.txt --words-white-list=$WORDS_WHITE_LIST \
+       -D $MYPATH/fix_typos/grassgis_dict.txt  .
+



More information about the grass-commit mailing list