Skip to content

fix several typos#6830

Merged
srittau merged 1 commit into
python:masterfrom
Akuli:typos
Jan 5, 2022
Merged

fix several typos#6830
srittau merged 1 commit into
python:masterfrom
Akuli:typos

Conversation

@Akuli
Copy link
Copy Markdown
Collaborator

@Akuli Akuli commented Jan 5, 2022

Found by running codespell stdlib/ stubs/ *.md, installed with pip install codespell==2.1.0.

It would be possible to add codespell to our CI, but it doesn't seem like a good idea to me:

  • It flags several false positives.
  • stubtest already ensures that most things are spelled correctly.
  • Outside comments, the only typo I have seen is misspelling suite_mask as suite_mast, fixed in Improve sys stubs #6816. It was in code that isn't very stubtest-friendly. But codespell doesn't flag it either, because mast is also a valid word.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 5, 2022

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau srittau merged commit a7886bf into python:master Jan 5, 2022
@srittau
Copy link
Copy Markdown
Collaborator

srittau commented Jan 5, 2022

While I don't mind spelling fixes in comments, I don't think they should be a CI blocker. Especially since we can't do anything about misspelled function/field names.

@Akuli Akuli deleted the typos branch January 5, 2022 20:59
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