Add codespell support with configuration and fixes#123
Open
yarikoptic wants to merge 4 commits into
Open
Conversation
…ists Added skip for ISO/IEC XSD schemas, ignore-regex for camelCase/PascalCase identifiers, bold-letter markdown/LaTeX formatting, regex character classes, and URLs. Added domain-specific terms to ignore-words-list covering scientific abbreviations, library names, medical terminology, and code identifiers. Co-Authored-By: Claude Code 2.1.92 / Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Code 2.1.92 / 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.
Add codespell configuration and fix existing typos.
More about codespell: https://github.com/codespell-project/codespell
I personally introduced it to over a hundred of projects already mostly with a positive feedback
(see the "improveit-dashboard").
CI workflow has 'permissions' set only to 'read' so also should be safe.
Changes
Configuration & Infrastructure
.codespellrcwith comprehensive skip patterns (ISO/IEC XSD schemas)mainand PRscodespell-project/actions-codespell@v2with pinned SHARegex Pattern Exclusions
Configured
ignore-regexto skip:atLeast,fromT,prSet, etc.)**S**pecific) and LaTeX (\textbf{S}pecific)[Ss]tage)Domain-Specific Whitelist
Added ~60 legitimate terms that codespell flags as typos, including:
simpy(SimPy),braket(Amazon Braket),atomate,scarches(scArches),namdehr(Electronic Health Records),hsa(Homo sapiens),otu(Operational Taxonomic Unit),cna(Copy Number Alteration),mape(Mean Absolute Percentage Error)infarction,abd(abdomen),anc(Absolute Neutrophil Count),ot(Occupational Therapy)ket(Dirac notation),blosum(substitution matrix),fallow(Gutenberg diagram),trough(business cycle),stard(reporting standard),lod(Limit of Detection)ser,fpr,sems,whis,vor,te,ontop,savTypo Fixes
questons→questions(imaging-data-commons/SKILL.md)Testing
✅ Codespell passes with zero errors after all configuration and fixes
🤖 Generated with Claude Code