diff --git a/.github/scripts/codespell.sh b/.github/scripts/codespell.sh index 0bede46e16..8e8ccf6820 100755 --- a/.github/scripts/codespell.sh +++ b/.github/scripts/codespell.sh @@ -17,6 +17,6 @@ codespell \ --skip '*/tool_hugehelp.c' \ --skip 'packages/*' \ --skip '*/test*' \ - --ignore-regex '.*spellchecker:disable' \ + --ignore-regex '.*spellchecker:disable-line' \ --ignore-words '.github/scripts/codespell-ignore.txt' \ $(git ls-files) diff --git a/.github/scripts/typos.toml b/.github/scripts/typos.toml index f6c537b5dc..03626cade7 100644 --- a/.github/scripts/typos.toml +++ b/.github/scripts/typos.toml @@ -12,7 +12,7 @@ extend-ignore-identifiers-re = [ ] extend-ignore-re = [ - ".*spellchecker:disable", + ".*spellchecker:disable-line", ] [files] diff --git a/lib/vtls/cipher_suite.c b/lib/vtls/cipher_suite.c index 80a124599a..9d2f523581 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" /* spellchecker:disable */ + "EDE" "\0" /* spellchecker:disable-line */ "GCM" "\0" "MD5" "\0" "NULL" "\0" diff --git a/tests/libtest/lib557.c b/tests/libtest/lib557.c index b38a9df551..097f4845c0 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"); /* spellchecker:disable */ + errors += string_check(buf, " fo"); /* spellchecker:disable-line */ curl_msnprintf(buf, sizeof(buf), "%*.*s", 2, 5, "foo"); errors += string_check(buf, "foo");