fix(rare): remove loath->loathe, as loath is as common as loathe #3523
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
resolves #3522
I committed a false positive when checking Python peps because
loath
was rewritten toloathe
and I wasn't aware thatloath
is a thing. It's the adjective, whereasloathe
is a verb.Per Google ngram, loath is as common as loathe, so it shouldn't be a clear rewrite. It should simply be removed as it's not a clear typo nor is one much more common than the other.
https://books.google.com/ngrams/graph?content=loath%2Cloathe&year_start=1800&year_end=2022&corpus=en&smoothing=3
See python/peps@ee430d6 where this happened live.
https://github.com/codespell-project/codespell/blame/f0695997de58d3b9c790a940cbb94e14640bdc97/codespell_lib/data/dictionary_rare.txt#L162