codespell-project / codespell

check code for common misspellings
GNU General Public License v2.0
1.92k stars 467 forks source link

Don't automatically fix "requeried" #2840

Open stinos opened 1 year ago

stinos commented 1 year ago

It's the past tense of requery, which might be used especially in source code.

DimitriPapadopoulos commented 1 year ago

On the other hand, requery is missing from all usual dictionaries:

I'll leave it to others, I am not a native speaker. Either requery should be written re-query, or we should not be so strict and move requeried->required to the code dictionary (and add requeries->requires there).

DimitriPapadopoulos commented 1 year ago

Perhaps we could change to:

requeried->re-queried, required,
stinos commented 1 year ago

On the other hand, requery is missing from all usual dictionaries:

Fairly new to codespell, so now I'm wondering: is this the standard rule, that a word should appear in a semi-official dictionary? Because none of those contain all possible (and valid according to common rules as far as I'm aware) word combinations, whereas especially in code it's common to make such combinations.