Repository navigation
script: bump codespell to 2.2.1, update ignored words and fix spelling - #26095
Conversation
|
I opened #25706 recently to avoid PRs like these but it didn't get much attention. What are your thoughts about it? |
That pull wouldn't address all of the changes here; I'm not sure it would catch the one here in the linters, and it wouldn't update the ignored words e.g. removing no-longer-needed ones as done here. Also, some of the fixups here aren't from codespell but I bundled them in. Edit: also periodically updating the codespell version. |
|
Could you please exemplify the changes in |
If the linter passes after removing any ignored words, we may as well remove them. |
That was my doubt, but makes sense, thanks! In the future, if we need them again, we can put it back as well. |
brunoerg
left a comment
There was a problem hiding this comment.
ACK b3b185ada59d11ee8a395554071da1d538e045a9
and also fix spelling in test/lint/lint-locale-dependence.py not caught by the spelling linter and fix up a paragraph we are touching here in test/README.md.
b3b185a to
b6a6556
Compare
|
Thanks @MarcoFalke, bumped the codespell version. |
There was a problem hiding this comment.
ACK b6a6556
Was able to reproduce the CI errors with my local install of codespell. After bumping the version to 2.2.1, test/lint/lint-spelling.py ran with no errors.
Ran test/lint/lint-spelling.py on master and saw all the warnings that are fixed in this PR.
| * | ||
| * Each call to run() generates a Result that is stored within the Bench instance. This is mostly for advanced users who want to | ||
| * see all the nitty gritty detials. | ||
| * see all the nitty gritty details. |
There was a problem hiding this comment.
this will need to be fixed upstream
as well as one in
test/lint/lint-locale-dependence.pynot seen by the spelling linter.Can be tested locally by running
test/lint/lint-spelling.pyon this branch versus on master and by checking the CI linter result.