'od' (abbreviated 'ordered dictionary') is considered as misspelled 'of' in Lua code
Closed this issue · 1 comments
The warning looks valid in the general case, but my commit adds an ordered dictionary implementation and od
is used in many places as a variable name in Lua code. There are also several usages in comments (in usage examples, which are Lua code as well).
It would be nice if I can mark a word as a known exception for the spelling check using the commit message.
Also, it seems, it depends on a spelling dictionary. I use --codespell --codespellfile /usr/lib/python3.10/site-packages/codespell_lib/data/dictionary.txt
locally and it doesn't warn me. However, tarantool's CI complains. It uses apt install -y codespell
on Ubuntu Focal and passes just --codespell
to the checkpatch.pl
invocation.
NB: It was removed from a newer versions of codespell
.