Add .codespellrc#12582
Conversation
References koreader#12579 (comment)
|
Typos jump out quite quickly when reading a PR. I fear having to fight that codespell thing anytime we name willingly a variable with a possible strange name that makes sense in our context (ie. |
|
I had much the same thought. I suppose the main question is if it would be helpful to add a configuration file if it isn't run regularly. |
|
I'll drop the idea but note that https://github.com/koreader/koreader/actions/runs/11146736427/job/30979382405?pr=12582 lists some amount of genuine typos. |
It feels half of them comes from my fingers :/ :) |
|
@Frenzie Going manually through the error log above with all those typos revealed that it mainly did focus on comments with a few exceptions |
|
It doesn't look that way but might depend on what you mean precisely. |
Mostly just a quick test right now. Excluding
ges(which it thinks should beguess) takes care of most false positives. A few files (like Asian keyboards) might need to be excluded completely.References #12579 (comment)
Details
This change is