diff options
author | Viktor Szakats <commit@vsz.me> | 2025-07-11 21:50:23 +0200 |
---|---|---|
committer | Viktor Szakats <commit@vsz.me> | 2025-07-21 16:09:01 +0200 |
commit | 0260e8465a2373b22588086acdfa5f4cf0e16e29 (patch) | |
tree | 5ea21cb2159df12d3d2994744fec51f89745932e /docs/examples/post-callback.c | |
parent | 792a61e2047782b85da0332cf298a747ce11e8e6 (diff) |
GHA/checksrc: expand spellcheck, fix issues found
- codespell: break logic out into its own runnable script. Allowing
to run it on local machines.
- codespell: install via `pip`, bump to latest version.
- codespell: show version number in CI log.
- codespell: drop no longer needed word exception: `msdos`.
- codespell: include all curl source tree, except `packages` and
`winbuild`. Drop an obsolete file exclusion.
- add new spellchecker job using the `typos` tool. It includes
the codespell dictionary and a couple more. Use linuxbrew to install
it. This takes 10 seconds, while installing via `cargo` from source
would take over a minute.
- codespell: introduce an inline ignore filter compatible with `cspell`
Make `typos` recognize it, too. Move single exceptions inline.
Fix new typos found. Also rename variables and words to keep
spellchecking exceptions at minumum. This involves touching some tests.
Also switch base64 strings to `%b64[]` to avoid false positives.
Ref: https://github.com/crate-ci/typos/blob/master/docs/reference.md
Ref: https://github.com/codespell-project/codespell?tab=readme-ov-file#inline-ignore
Ref: https://github.com/codespell-project/codespell/issues/1212#issuecomment-1721152455
Ref: https://cspell.org/docs/Configuration/document-settings
Closes #17905
Diffstat (limited to 'docs/examples/post-callback.c')
-rw-r--r-- | docs/examples/post-callback.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/post-callback.c b/docs/examples/post-callback.c index 1a213cb2d..fa0c575e6 100644 --- a/docs/examples/post-callback.c +++ b/docs/examples/post-callback.c @@ -33,9 +33,9 @@ static const char data[]="Lorem ipsum dolor sit amet, consectetur adipiscing " "elit. Sed vel urna neque. Ut quis leo metus. Quisque eleifend, ex at " "laoreet rhoncus, odio ipsum semper metus, at tempus ante urna in mauris. " - "Suspendisse ornare tempor venenatis. Ut dui neque, pellentesque a varius " + "Suspendisse ornare tempor venenatis. Ut dui neque, pellentesque a ______ " "eget, mattis vitae ligula. Fusce ut pharetra est. Ut ullamcorper mi ac " - "sollicitudin semper. Praesent sit amet tellus varius, posuere nulla non, " + "sollicitudin semper. Praesent sit amet tellus ______, posuere nulla non, " "rhoncus ipsum."; struct WriteThis { |