Add typos checks and fix typos it found #580
Open
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.
I'd recently fixed many typos in haskell/cabal using the typos tool, see haskell/cabal#10613 and haskell/cabal#10603. I tried the tool here and found many typos.
There's already pull request #558 that fixes issue #560.
I've read the contributing notes and annotated commits with #560 but can change this issue reference to another if you want to raise one or more separate issues.
As for the GitHub action, this is using the makefile not the typos action that I tried, the same as we're using with haskell/cabal. I could get their action to work for
./**/*.md
files but not./**/*.hs
files even though both work locally.I haven't added CHANGELOG entries as I'm not yet sure if you'd like this pull request to remain whole or split up. As it is now, it touches
copilot-c99
,copilot-interpreter
,copilot-language
,copilot-theorem
andcopilot/examples
(for which there isn't a CHANGELOG).