-
Notifications
You must be signed in to change notification settings - Fork 159
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
[INFRA] Add "codespell" tool to CI checks to catch typos sooner #873
[INFRA] Add "codespell" tool to CI checks to catch typos sooner #873
Conversation
New typos found by latest version of codespell.
Mark executable Python scripts as executable Python in Git. While Git is not perfect in how it treats changes in file permissions, I feel this is better than nothing.
809f376
to
312be59
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.
LGTM
Personal note: learn how to spell "dictionary"
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.
Thanks @DimitriPapadopoulos I have two comments:
You have touched some files without content changes, like this one (screenshot):
What's that about?
Secondly, do you think it'd make sense to integrate codespell into our CI (if possible)?
Ah, you're right. I ran I am trying to integrate codespell in the CI process of different projects, but I'm not there yet. |
Actually, I'm already there for GitHub, but not for GitLab. I have added codespell to GitHub CI. The problem is with some residual false-positives:
I'm not certain what the best strategy is. Accept all these small variables names as valid, and perhaps skip future actual errors? |
Cool!
I'd say that's an improvement over the status quo 👍 |
de5b9e9
to
b9628dd
Compare
Done. |
I hope I have got the |
b9628dd
to
22ec6c2
Compare
22ec6c2
to
1370972
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.
Great, thanks a lot @DimitriPapadopoulos
New typos found by latest version of codespell.
A couple other style issues.