Skip to content

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

Open
yarikoptic wants to merge 3 commits into
google:gh-pagesfrom
yarikoptic:enh-codespell
Open

Add codespell support (config, workflow to detect/not fix) and make it fix some typos#951
yarikoptic wants to merge 3 commits into
google:gh-pagesfrom
yarikoptic:enh-codespell

Conversation

@yarikoptic
Copy link
Copy Markdown

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.

It was requested a while back in

and recommended in

there indeed could be some false positives but I think it is quite robust -- you can see how few I had to exclude, and some of those could actually be "fixed" to make it cleaner

…os automagically

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

vapier commented Nov 14, 2025

can you attach a full run with these settings against the existing docs ? or are they all clean other than the fixes you included ?

@yarikoptic
Copy link
Copy Markdown
Author

can you attach a full run with these settings against the existing docs ? or are they all clean other than the fixes you included ?

yes, after those few fixes, it was all clean here as codespell workflow noted in its run:

image

@vapier
Copy link
Copy Markdown
Member

vapier commented Feb 11, 2026

sounds great. we'll look at running codespell internally on these files, and then circle back to enabling this here.

@vapier
Copy link
Copy Markdown
Member

vapier commented Feb 19, 2026

i've queued up fixes internally for the various guides and will circle back once they land

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