From bd5f0fef5557207ef024bdd638bf359f72fcccc4 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sat, 12 Jul 2025 16:55:40 +0200 Subject: [PATCH] Revert "try built-in codespell ignore tag" This reverts commit e78db252b7166d9f6ae5432f29237a79b59de225. --- .github/scripts/codespell.sh | 1 + lib/vtls/cipher_suite.c | 2 +- tests/libtest/lib557.c | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/scripts/codespell.sh b/.github/scripts/codespell.sh index c4adf58cee..a81bc77c9c 100755 --- a/.github/scripts/codespell.sh +++ b/.github/scripts/codespell.sh @@ -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) diff --git a/lib/vtls/cipher_suite.c b/lib/vtls/cipher_suite.c index 833c28a11c..849cb3afe9 100644 --- a/lib/vtls/cipher_suite.c +++ b/lib/vtls/cipher_suite.c @@ -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" diff --git a/tests/libtest/lib557.c b/tests/libtest/lib557.c index bac0f876eb..bfd6ab3be3 100644 --- a/tests/libtest/lib557.c +++ b/tests/libtest/lib557.c @@ -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");