On 04/04/2025 20:40, Collin Funk wrote:
Hi,
The next update from Gnulib will add sc_codespell. The attached patch
will fix the 'make syntax-check' errors that occur as a result.
A few typo fixes, but mostly ignoring common variable names and sed
commands that codespell doesn't understand.
I split an over-long line as follows and pushed.
thanks!
Pádraig.
diff --git a/cfg.mk b/cfg.mkindex 3e7ed9fd1..2b24355ad 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -956,7 +956,8 @@ _gl_TS_unmarked_extern_vars = ptr_MD5_.*
_gl_TS_dir = .
_gl_TS_obj_files = src/*.$(OBJEXT)
# Settings for running codespell.
-codespell_ignore_words_list = \
-
debbugs,clen,te,bu,shs,linke,fo,souch,inout,outin,kno,ois,afile,whats,hda,indx,ot,nam
+csiwl_1 = debbugs,clen,te,bu,shs,linke,fo,souch,inout,outin
+csiwl_2 = kno,ois,afile,whats,hda,indx,ot,nam
+codespell_ignore_words_list = $(csiwl_1),$(csiwl_2)
exclude_file_name_regexp--sc_codespell = \
^(THANKS\.in|tests/pr/.*(F|tn?|l(o|m|i)|bl))$$