Add codespell support with configuration and fixes#830
Closed
yarikoptic wants to merge 5 commits intochaoss:mainfrom
Closed
Add codespell support with configuration and fixes#830yarikoptic wants to merge 5 commits intochaoss:mainfrom
yarikoptic wants to merge 5 commits intochaoss:mainfrom
Conversation
- Skip .cache, .npm (cache directories) - Skip docs/ar/js/* (vendored aframedc.js library) - Skip kubernetes/* (org config with company names: Absolut, Conexant, etc.) - Ignore 'hace' (Spanish time expressions in historical changelogs) Co-Authored-By: Claude Code 2.1.63 / Claude Opus 4.6 <noreply@anthropic.com>
- braches -> branches (NEWS, releases/0.3.0.md) - git worktree context - typoes -> typos (releases/old/NEWS:733) - "Fixed the typos of docker/README.md" - Conver -> Convert (releases/old/NEWS:1423) - "Convert INFO messages to DEBUG" - frmo -> from (releases/old/NEWS:1530) - "Remove ocean-unique-id from schema" - unsecure -> insecure (releases/old/NEWS:831) - standard English term - fro -> for (releases/old/NEWS.old:411) - "add panel for Kibana 6" - confussions -> confusions (releases/old/NEWS.old:2130) - "avoid confusions" - Readd -> Re-add (releases/old/NEWS.old:2444) - "Re-add support to execute..." Co-Authored-By: Claude Code 2.1.63 / Claude Opus 4.6 <noreply@anthropic.com>
Fixed typos across NEWS, releases/, community_components.md, and docs/:
- recommmendations -> recommendations
- unifing -> unifying
- incremantal -> incremental
- reponse -> response
- everytime -> every time
- mantained -> maintained
- viceversa -> vice-versa
- adresses -> addresses
- wass -> was
- indentities -> identities
- appropiate -> appropriate
- analyizes -> analyzes
- mananging -> managing
- compability -> compatibility
- dependecies -> dependencies
- depencency -> dependency
- paramaters -> parameters
- documentaion -> documentation
- Redifine -> Redefine
- and many more across 27 files
Co-Authored-By: Claude Code 2.1.63 / Claude Opus 4.6 <noreply@anthropic.com>
=== Do not change lines below ===
{
"chain": [],
"cmd": "uvx codespell -w",
"exit": 0,
"extra_inputs": [],
"inputs": [],
"outputs": [],
"pwd": "."
}
^^^ Do not change lines above ^^^
Member
|
Thanks but we aren't interested on adding this workflow to the repository. |
Author
|
Do you want me to submit just typo fixes without workflow? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add codespell configuration and fix existing typos. You might ask why to fix typos in old NEWS? I would say -- why to cherish them there?
More about codespell: https://github.com/codespell-project/codespell
I personally introduced it to dozens if not hundreds of projects already and so far only positive feedback.
CI workflow has 'permissions' set only to 'read' so also should be safe.
Changes
Configuration & Infrastructure
[tool.codespell]section topyproject.toml.github/workflows/codespell.yml) to check spelling on push and PRs.cache,.npm,*.pdf,*.svg,*.css,*.lock,*.min.*,docs/ar/js/*(vendored aframedc.js),kubernetes/*(org config with company names like Absolut, Conexant, Grammer, Synopsys, Infor)Domain-Specific Whitelist
hace— Spanish time expressions in historical changelogs ("hace 52 minutos", "hace 3 días")Typo Fixes
Ambiguous typos fixed manually (8 fixes with context review):
braches→branches(NEWS, releases/0.3.0.md) — git worktree contexttypoes→typos(releases/old/NEWS) — "Fixed the typos of docker/README.md"Conver→Convert(releases/old/NEWS) — "Convert INFO messages to DEBUG"frmo→from(releases/old/NEWS) — "Remove ocean-unique-id from schema"unsecure→insecure(releases/old/NEWS) — standard English termfro→for(releases/old/NEWS.old) — "add panel for Kibana 6"confussions→confusions(releases/old/NEWS.old) — "avoid confusions"Readd→Re-add(releases/old/NEWS.old) — "Re-add support to execute..."Non-ambiguous typos fixed automatically (71 fixes in 25 files):
Common fixes include:
recommmendations→recommendations,mantained→maintained,everytime→every time,viceversa→vice-versa,incremantal→incremental,adresses→addresses,Redifine→Redefine,identites→identities,implemetation→implementation, and many more across NEWS and release notes.Historical Context
This project has had 15 prior commits fixing typos manually, demonstrating the value of automated spell-checking.
Testing
✅ Codespell passes with zero errors after all fixes
🤖 Generated with Claude Code and love to typos free code