Enhance codespell support with configuration, CI workflow, and fixes#37
Open
yarikoptic wants to merge 5 commits intoMRI-Lab-Graz:mainfrom
Open
Enhance codespell support with configuration, CI workflow, and fixes#37yarikoptic wants to merge 5 commits intoMRI-Lab-Graz:mainfrom
yarikoptic wants to merge 5 commits intoMRI-Lab-Graz:mainfrom
Conversation
- Reference .codespellignore via ignore-words in pyproject.toml - Add comprehensive German word list (sie, als, unter, vor, finde, offen, etc.) - Add domain terms: VAS (Visual Analogue Scale), ANC (Austrian NeuroCloud), sav/SAV (SPSS format), Linz (city), datas (PyInstaller parameter) - Skip official/ and examples/ directories (predominantly German content) - Add pre-select/pre-selected and theses to ignore-words-list Co-Authored-By: Claude Code 2.1.114 / Claude Opus 4.6 <noreply@anthropic.com>
- schmeas -> schemas (repo.instructions.md) - imporatnt -> important (repo.instructions.md) - accros -> across (survey-bfi-s.json citation) - somehwat -> somewhat (survey-nmp-q.json, 9 occurrences) Co-Authored-By: Claude Code 2.1.114 / Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Code 2.1.114 / Claude Opus 4.6 <noreply@anthropic.com>
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.
So there was codespell ignore file but seems no 'central' config. There still is
But I think it largely becomes obsolete since better to fix config to just rely on just running
codespelland github action would also annotate conveniently where typos found.Changes
Configuration & Infrastructure
[tool.codespell]section inpyproject.tomlwith comprehensive skip patterns.github/workflows/codespell.yml) to check spelling on push to main and PRs.codespellignorefile with German language tokens and domain-specific termsSkip Patterns
.git,.gitattributes,*.pdf,*.svg,vendor,*.css,*.min.*official/,examples/(predominantly German-language survey content)Domain-Specific Whitelist (
.codespellignore)Added legitimate terms that codespell flags as typos:
Sie,sie,oder,ist,als,unter,vor,finde,offen,alle,ue/Ue,Fo,bu/BU,linkeVAS/vas(Visual Analogue Scale),puls(physiological data type)ANC/anc(Austrian NeuroCloud),sav/SAV(SPSS file format),Linz(city in Austria),datas(PyInstaller parameter name)theses(plural of thesis),pre-select/pre-selected(valid hyphenated forms)Typo Fixes
schmeas→schemasin.github/instructions/repo.instructions.mdimporatnt→importantin.github/instructions/repo.instructions.mdaccros→acrossinofficial/library/survey/survey-bfi-s.json(citation text)somehwat→somewhatinofficial/library/survey/survey-nmp-q.json(9 occurrences in English response option text)Testing
✅
codespellpasses with zero errors after all fixes🤖 Generated with Claude Code and love to typos free code