thiagowfx's avatar

Β¬ just serendipity πŸ€ (not just serendipity)

codespell: ignore words

β€’ 64 words β€’ 1 min β€’ updated

⚠️ This post is over one year old. It may no longer be up to date or relevant. Opinions may have changed.

When using codespell to spell check a git repository, sometimes you may run into false positive words.

There are two ways to whitelist them.

The first one is via command-line arguments:

shell
codespell -L=ist -L=regio

or

shell
codespell -L=ist,regio

The second one is with a dedicated .ignore-words.txt file:

shell
% cat .ignore-words.txt
# keep-sorted start
ist
regio
# keep-sorted end
% codespell -I .ignore-words.txt