Description
I'd like to use codespell as part of an automated check workflow. For that I need to be able to ignore certain cases on a per instance bases.
Here's an example. In the code base there is a command called 'Trim All'. The comment contains a statement like:
// Track how many Trim Alls have been issued.
codespell finds Alls as a possible error.
I don't want to add 'Alls' to the ignore words list as it could be a real error in other cases. But I don't want this message generated on every run either.
The ignore word list only supports single words So I can't do 'Trim Alls' as an ignore.
Some sort of in line keystring that allows the next occurrence of a specific word error would be useful. Most code formatters, pretty-printers, and static analysis tools have some sort of inline // disable-whatever option that allows you to skip the trigger on a per instance basis.