Skip to content

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

Merged
adbartni merged 4 commits intoBuffalo-Ontology-Group:mainfrom
yarikoptic:enh-codespell
Nov 6, 2025
Merged

Add codespell support (config, workflow to detect/not fix) and make it fix some typos#27
adbartni merged 4 commits intoBuffalo-Ontology-Group:mainfrom
yarikoptic:enh-codespell

Conversation

@yarikoptic
Copy link
Copy Markdown
Contributor

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.

Got inspired by

but extended not only to src/ontology/MRIO-edit.owl but everything I have not excluded. See the skips I added.

With this, CI would verify that there is no typos added into any of not skipped files.

…os automagically

=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
@adbartni
Copy link
Copy Markdown
Contributor

adbartni commented Nov 6, 2025

Beautiful! Especially appreciate the CI action to automatically check spelling moving forward.

Thanks again for the contribution!

@adbartni adbartni closed this Nov 6, 2025
@adbartni adbartni reopened this Nov 6, 2025
@adbartni adbartni merged commit 0fcee8b into Buffalo-Ontology-Group:main Nov 6, 2025
3 checks passed
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