Skip to content

WIP: Add typos for source code spelling check#4690

Draft
seisman wants to merge 1 commit into
mainfrom
tool/typos
Draft

WIP: Add typos for source code spelling check#4690
seisman wants to merge 1 commit into
mainfrom
tool/typos

Conversation

@seisman

@seisman seisman commented Jun 21, 2026

Copy link
Copy Markdown
Member

Closes #4689.

Changes in this PR:

  • Add support for typos
  • Ignore some words for typos
  • Rename the codespell make target to the more general target spellcheck
  • Update the instruction in the release checklist

After excluding some false detections, typos still reports one typo:

error: `pricipal` should be `principal`
    ╭▸ ./doc/changes.md:643:25
    │
643 │ * Figure.meca: Fix typo pricipal_axis -> principal_axis ([#2940](https://github.com/GenericMa…
    ╰╴                        ━━━━━━━━
make: *** [Makefile:71: spellcheck] Error 1

I guess we need to either remove the entry from the changelog or just ignore it.

@seisman seisman added this to the 0.19.0 milestone Jun 21, 2026
@seisman seisman added maintenance Boring but important stuff for the core devs needs review This PR has higher priority and needs review. labels Jun 21, 2026
@seisman seisman marked this pull request as draft June 21, 2026 13:47
@seisman seisman changed the title Add typos for source code spelling check WIP: Add typos for source code spelling check Jun 21, 2026
Comment thread pyproject.toml Outdated

[tool.codespell]
ignore-words-list = "astroid,buda,oints,reenable,te,tripel,trough,ND"
ignore-words-list = "astroid,buda,oints,te,tripel,trough,ND,fo,ser,OCE"

@yvonnefroehlich yvonnefroehlich Jun 23, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should merge #4691 first to reduce merge conflicts 🙂.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Boring but important stuff for the core devs needs review This PR has higher priority and needs review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use typos for spell checking

2 participants