-
Notifications
You must be signed in to change notification settings - Fork 221
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 workflow and fix some typo #1568
Conversation
this help showing typo errors in the pull request show also typo out of PR changes setted to only warn, so will don't fails the check even if typo are present, thus it does not force to correct any typo, which may not even be introduced by that PR
major was spotted with codespell not all typo spotted by codespell are solved
one is a name and one is a variable name
one is in a regular expression and other in is a translated string (I suppose is correct in that language)
Dear Fantu, Modifying infrastructure should be discussed with the maintenance team first. I am sorry but we do not use workflow/actions or something else that is exclusive to Microsoft GitHub. The goal is to prevent a locked-in effect. We plan on the long run to migrate to another code hoster. But for my learing: What is a "workflow" technically? Is it a VM or container? EDIT: Is it just https://github.com/codespell-project/codespell/ ? EDIT2: Seems like a nice tool, easy to integrate in our unit tests. And it can be configured via |
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.
as you prefer if you want to abandon github, however it doesn't seem to me that Microsoft has done enough damage in these 5 years, or am I wrong? |
To my knowledge there was no damage explicit to BIT. But they disrespect our LICENCE with feeding CoPilot with our repository. Technically currently it is no problem to migrate BIT to another code hoster because we do not use GitHub specific features. Even our TravisCI config might be easy to migrate if we would do this. We should keep the relationship in that current "friends with benefits" state and do not go further. |
those defined as "artificial intelligence" are now being used everywhere, I think that they largely bring negative aspects, but it now seems like an unstoppable trend implemented even where it is counterproductive. |
removed the workflow and the wrong change
there was big list of "false positive", but I already excluded them in codespell excluding po files (for major) and few words for others, on codespell workflow was:
there is something similar using codespell from command line tool installed locally and I suppose also using it from pylint (but I never used it and I not checked) |
@Fantu Thanks a lot for investing your time to help us saving time! |
Can you explain why |
word to ignore must be always all lowercase, as I saw works only putting lowercase (like dictionary) and after will work also for uppercase or mixed result (so for example manuel in ignore word list will skip Manuel, manuel or MANUEL)
and example of codespell dictionary: |
codespell github workflow help to spot typo and show them in pull request
I also fixed some typo, major spotted with codespell