Revert "try built-in codespell ignore tag"

This reverts commit e78db252b7166d9f6ae5432f29237a79b59de225.
This commit is contained in:
Viktor Szakats 2025-07-12 16:55:40 +02:00
parent 9f106eb259
commit bd5f0fef55
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
3 changed files with 3 additions and 2 deletions

View file

@ -17,5 +17,6 @@ codespell \
--skip '*/tool_hugehelp.c' \
--skip 'packages/*' \
--skip '*/test*' \
--ignore-regex '.*spellchecker: disable' \
--ignore-words '.github/scripts/codespell-ignore.txt' \
$(git ls-files)

View file

@ -70,7 +70,7 @@ static const char *cs_txt =
"ECDH" "\0"
"ECDHE" "\0"
"ECDSA" "\0"
"EDE" "\0" /* codespell:ignore */
"EDE" "\0" /* spellchecker: disable */
"GCM" "\0"
"MD5" "\0"
"NULL" "\0"

View file

@ -1146,7 +1146,7 @@ static int test_string_formatting(void)
errors += string_check(buf, "09foo");
curl_msnprintf(buf, sizeof(buf), "%*.*s", 5, 2, "foo");
errors += string_check(buf, " fo"); /* codespell:ignore */
errors += string_check(buf, " fo"); /* spellchecker: disable */
curl_msnprintf(buf, sizeof(buf), "%*.*s", 2, 5, "foo");
errors += string_check(buf, "foo");