Codespell: add workflow, config and some typos fixed #33934
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
https://github.com/codespell-project/codespell finds common typos and proposes fixes. I decided to look at terraform: I think it is doable to make it "codespell clean" and rely on github action to ensure that all contributions come without a known typo. At times they even pick up code bugs in scripts on untested code paths.
For now, just to show the "power" of codespell I "manually" (see individual commits on command which was ran... well -- git-sedi is my bash helper) to fix some most common typos used in the project.
Here is the rest found by codespell and needed to be triaged, and then just done via `codespell -w` or ` codespell -i -w` executions
just let me know if there is a value to finalize this Pr
Target Release
1.5.x
Draft CHANGELOG entry
NEW FEATURES | UPGRADE NOTES | ENHANCEMENTS | BUG FIXES | EXPERIMENTS