pre-commit: make the --all-files run green again.github/workflows/pre-commit.yml runs `pre-commit run --all-files` on everypull request, so three hooks were failing every PR regardless of what it
pre-commit: make the --all-files run green again.github/workflows/pre-commit.yml runs `pre-commit run --all-files` on everypull request, so three hooks were failing every PR regardless of what ittouched: trim trailing whitespace.............................Failed (83 files) makes sure files end in a newline and only a newline.Failed (31 files) run codespell........................................Failed (2 files)Whitespace, 88 files across chart2, connectivity and officecfg. Most of thetrailing blanks are the "# " lines inside the ASF licence header of agbuild makefile; the end-of-file ones are a second blank line after the vimmodeline. Produced by running the hooks, not by hand: pre-commit run trailing-whitespace --all-files pre-commit run end-of-file-fixer --all-files`git diff --ignore-all-space --ignore-blank-lines` over that part of thiscommit is empty, so no byte a compiler, dmake or gbuild reads has changed.Codespell, two findings, treated differently because only one is a typo: * connectivity/Library_dbtools.mk:168 "depenedencies" -> "dependencies", in a comment. * bridges/.../rtti_crossdylib_test/thrower.cxx "nodel" is the no-op deleter handed to __cxa_throw -- a deliberate abbreviation, not a misspelling. Added to .github/linters/codespell.txt, which is what that list is for; renaming a function to satisfy a spell checker is the wrong way round.The three fixes are one commit rather than three because they are notseparable: the typo is in Library_dbtools.mk, which is also one of the 88whitespace files, and pre-commit checks the staged content -- so a commitcarrying either fix alone fails its own hooks.After this, `pre-commit run --all-files` passes every hook.Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>Claude-Session: https://claude.ai/code/session_01UWgzQY2r1XwFvgeLPFWPsi
show more ...
fix AOO-trunk cosmetic table definition (#489)* fix AOO-trunk cosmetic table definitionadded test string to spell checker.* adding a license as requested.
misc: fix spelling (#461)* misc: fix spelling* Regenerate ignored words list codespell.txt
misc: fix more typos (#460)* misc: fix more typos* Regenerate ignored words list codespell.txt
misc: fix spelling (#459)* misc: fix spelling* Regenerate ignored words list codespell.txt
Fix typos (#458)* Fix typos* Regenerate ignored words list codespell.txt* Update cli_proxy.h* Update cli_proxy.h---------Co-authored-by: Matthias Seidel <mseidel@apache.org>
gha: upgrade to `actions/cache@v5` (#455)Updated the pre-commit GitHub actions workflow to use version 5https://github.com/actions/cache/releases/tag/v5.0.0
Fix typos (#454)* Fix typos* Regenerate ignored words list
Clean up the pre-commit workflow (#447)Rename file, use "color" always, install from requirements file, adjust name key
Bump `actions/checkout` to `v6` (#446)https://github.com/actions/checkout/releases/tag/v6.0.0
Fix more spelling (#443)* Fix spelling* Regenerate ignored words list codespell.txt
Fix typos (#442)* Fix spelling* Regenerate ignored words list codespell.txt
Fix more typos (#441)* Fix spelling* Regenerate ignored words list codespell.txt
Fix more typos (#440)* Fix more typos* Regenerate ignored words list codespell.txt
Fix spelling (#439)* Fix typos* Regenerate ignored words list codespell.txt
Fix typos (#438)* Fix more typos* Regenerate ignored words list codespell.txt
Fix spelling; fix `ifndef` statement (#437)* Fix more typos* Regenerate ignored words list codespell.txt
Typo run (#435)* Fix some typos* Regenerate ignored words list codespell.txt
More spelling fixes (#434)* Fix more typos* Regenerate ignored words list codespell.txt
Fix typos (#433)* Fix typos* Regenerate ignored words list codespell.txt
Fix spelling (#431)Regenerate the ignored words list `codespell.txt`
Fix spelling (#430)Regenerate the ignored words list `codespell.txt`
Fix spelling (#426)* Fix spelling* Recreate ignored words list codespell.txt
Fix typos (#425)* Fix typos* Recreate ignored words list codespell.txt
Fix spelling (#424)* Fix typos* Recreate the ignored words list codespell.txt
1234