mirror of
https://github.com/curl/curl.git
synced 2026-08-25 05:33:33 +03:00
go with disable-line
This commit is contained in:
parent
1622bfec55
commit
aa15206d94
4 changed files with 4 additions and 4 deletions
2
.github/scripts/codespell.sh
vendored
2
.github/scripts/codespell.sh
vendored
|
|
@ -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)
|
||||
|
|
|
|||
2
.github/scripts/typos.toml
vendored
2
.github/scripts/typos.toml
vendored
|
|
@ -12,7 +12,7 @@ extend-ignore-identifiers-re = [
|
|||
]
|
||||
|
||||
extend-ignore-re = [
|
||||
".*spellchecker:disable",
|
||||
".*spellchecker:disable-line",
|
||||
]
|
||||
|
||||
[files]
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue