Skip to content

Add codespell support (config, workflow to detect/not fix) and make it fix few typos#208

Open
yarikoptic wants to merge 4 commits intoNeuroML:mainfrom
yarikoptic:enh-codespell
Open

Add codespell support (config, workflow to detect/not fix) and make it fix few typos#208
yarikoptic wants to merge 4 commits intoNeuroML:mainfrom
yarikoptic:enh-codespell

Conversation

@yarikoptic
Copy link

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.

@pgleeson
Copy link
Member

pgleeson commented Oct 8, 2024

Thanks @yarikoptic, we'll check through this and merge. Has been useful in other repos, but some of the files here are autogenerated and just need to be excluded from the checks.

yarikoptic and others added 4 commits January 26, 2026 15:42
Automated fixes applied by codespell -w.
Autogenerated files in scripts/ directory are now excluded.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

=== Do not change lines below ===
{
 "chain": [],
 "cmd": "uvx codespell -w",
 "exit": 65,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
Fixed typos that codespell detected but didn't auto-fix:
- investigatin → investigating (investigating SPH)
- agains → against (compare against originals)
- cannel → channel (channel population)
- containe → contain (can contain a collection)
- ther → there (if there are multiple matches)
- tha → that (attribute that defines)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@yarikoptic
Copy link
Author

updated . just tell me what to exclude, if anything, @pgleeson

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