Skip to content

Add codespell support with configuration and fixes - #1671

Merged
Stromweld merged 5 commits into
chef:mainfrom
yarikoptic:enh-codespell
May 27, 2026
Merged

Add codespell support with configuration and fixes#1671
Stromweld merged 5 commits into
chef:mainfrom
yarikoptic:enh-codespell

Conversation

@yarikoptic

Copy link
Copy Markdown
Contributor

Add codespell configuration and fix existing typos.

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

  • Added .codespellrc configuration with skip patterns for .git, .npm, .cache, .local
  • Created GitHub Actions workflow to check spelling on push/PRs to main

Typo Fixes

Ambiguous typos fixed manually (5 fixes with context review):

  • widnows -> windows (CHANGELOG.md - "windows builds", not "widows")
  • miror -> mirror (CHANGELOG.md - "package mirror", not "minor")
  • doesnt -> doesn't (windows/cleanup.ps1 - contraction)
  • thats -> that's (windows/remove-apps.ps1 x2 - contraction)

Non-ambiguous typos fixed automatically (21 fixes in 7 files):
Common fixes include: compatable -> compatible (x4), seperated -> separated (x4), administraor -> administrator (x2), Sucessfully -> Successfully (x2), plus compatability, Porposal, metdata, intead, incomming, specfic, polularity, belogs, neccesary

Historical Context

This project has had 20 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

@yarikoptic
yarikoptic requested review from a team and Stromweld as code owners March 4, 2026 14:07
@Stromweld

Copy link
Copy Markdown
Collaborator

All commits need to be signed off and this should be in the ci-lint.yml workflow file as another job.

Comment thread packer_templates/scripts/windows/cleanup.ps1
@sonarqubecloud

sonarqubecloud Bot commented Mar 4, 2026

Copy link
Copy Markdown

@yarikoptic

Copy link
Copy Markdown
Contributor Author

All commits need to be signed off and this should be in the ci-lint.yml workflow file as another job.

signed'off and added annotation for commits co-authored-by claude for full(er) disclosure.

yarikoptic and others added 5 commits May 27, 2026 15:50
Signed-off-by: Yaroslav Halchenko <debian@onerussian.com>
Signed-off-by: Yaroslav Halchenko <debian@onerussian.com>
- widnows -> windows (CHANGELOG.md:249) - "windows builds", not "widows"
- miror -> mirror (CHANGELOG.md:1222) - "package mirror", not "minor"
- doesnt -> doesn't (windows/cleanup.ps1:16) - contraction
- thats -> that's (windows/remove-apps.ps1:52,63) - contraction

Signed-off-by: Yaroslav Halchenko <debian@onerussian.com>
Co-Authored-By: Claude Code 2.1.63 / Claude Opus 4.6 <noreply@anthropic.com>
Fixed typos (codespell -w):
- compatability -> compatibility (CHANGELOG.md)
- compatable -> compatible (CHANGELOG.md x4)
- Porposal -> Proposal (CHANGELOG.md)
- metdata -> metadata (CHANGELOG.md)
- intead -> instead (CHANGELOG.md)
- seperated -> separated (README.md x2, lib/bento/cli.rb x2)
- incomming -> incoming (README.md)
- specfic -> specific (lib/bento/cli.rb)
- polularity -> popularity (debian/preseed.cfg)
- belogs -> belongs (suse/vagrant_group_suse.sh)
- neccesary -> necessary (windows/cleanup.ps1)
- administraor -> administrator (windows/remove-one-drive-and-teams.ps1 x2)
- Sucessfully -> Successfully (windows/remove-one-drive-and-teams.ps1 x2)

Signed-off-by: Yaroslav Halchenko <debian@onerussian.com>
Co-Authored-By: Claude Code 2.1.63 / Claude Opus 4.6 <noreply@anthropic.com>
Also add push/PR triggers to ci-lint.yml alongside the existing weekly schedule.

Signed-off-by: Yaroslav Halchenko <debian@onerussian.com>
Co-Authored-By: Claude Code 2.1.63 / Claude Opus 4.6 <noreply@anthropic.com>
@Stromweld
Stromweld merged commit 374883c into chef:main May 27, 2026
2 checks passed
SamuelMarks pushed a commit to SamuelMarks/bento that referenced this pull request Aug 21, 2026
* Add github action to codespell
---------

Signed-off-by: Yaroslav Halchenko <debian@onerussian.com>
Co-authored-by: Claude Code 2.1.63 / Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants