codespell
Spellchecker for source code. tldr-pages
On several platforms
Several platforms
Check for typos in all text files in the current directory, recursively
codespellIdentifyCorrect all typos found in-place
codespell --write-changesIdentifySkip files with names that match the specified pattern (accepts a comma-separated list of patterns using wildcards)
codespell --skip "pattern"IdentifyUse a custom dictionary file when checking (--dictionary can be used multiple times)
codespell --dictionary path/to/file.txtIdentifyDo not check words that are listed in the specified file
codespell --ignore-words path/to/file.txtIdentifyDo not check the specified words
codespell --ignore-words-list ignored_word1,ignored_word2,...IdentifyPrint 3 lines of Context around, Before, or After each match
codespell --context 3IdentifyCheck file names for typos, in addition to file contents
codespell --check-filenamesIdentify