-
Notifications
You must be signed in to change notification settings - Fork 921
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add typos - Source code spell checker #3565
Conversation
Looks like the current implementation takes around 8 seconds. So it's faster and it seems more thorough as well. So I'm ready to switch to this instead of @rust-windowing/winit Thoughts? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've used typos
a lot by now and I had a great experience!
I don't have anything against cspell
and I also don't mind running multiple spellcheckers as well.
Except the two nits, LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be good after review addressed.
This fixes the same typos as #3556. Do I removed them from here and wait for the other pr to be merged, or I keep them? |
No, will merge your patch instead fixing them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you squash your changes?
squashed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM except the small nit.
0a9e598
to
6b4c99e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Once this is rebased I will merge.
Given that typos are frequent and may appear in the public API spell check code on CI.
@ameknite I've rebased things myself. |
As per the precedent set in winit, adds a spellchecker using the typos crate to CI. cc rust-windowing/winit#3565 Signed-off-by: John Nunley <[email protected]>
As per the precedent set in winit, adds a spellchecker using the typos crate to CI. Links: rust-windowing/winit#3565 Signed-off-by: John Nunley <[email protected]>
Same as #3557 but with typos
Advantages:
For reference typos is used in:
Bevy - bevyengine/bevy#12036
Wgpu - gfx-rs/wgpu#5191