-
Notifications
You must be signed in to change notification settings - Fork 178
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 codespell (config, workflow) to catch typos + catch and fix some of those #329
Conversation
Wow, thanks! This has caught some pretty nasty typos! 🚀 |
src/project/mod.rs
Outdated
@@ -905,7 +905,7 @@ mod tests { | |||
let file_contents = [ | |||
r#" | |||
[system-requirements] | |||
libc = { verion = "2.12" } |
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 think this one was done on purpose :)
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.
done -- ignored now
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.
Wow this looks great! Thanks @yarikoptic !
Would you be able to fix the remaining CI issues? The test is failing because we test that an explicit misspelling of version
causes an error during parsing but your changes "fixed" the misspelling. :) I left a comment where this happens.
7525ea2
to
e2d8e73
Compare
fixed up for that |
=== Do not change lines below === { "chain": [], "cmd": "codespell -w -i 3 -C 2", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
=== Do not change lines below === { "chain": [], "cmd": "codespell -w", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
d8cf8e8
to
173e296
Compare
note: some fixes seems to be touching code and could be "functional"