Skip to content

Commit

Permalink
Adjust spell checker configuration to fix false positive
Browse files Browse the repository at this point in the history
The codespell tool is used for automated detection of common misspellings in the files of this project.

A recent release of codespell includes an expansion of its misspellings dictionary. One of the additions is "ameba" as a
misspelling of "amoeba". The presence of that word in the project content caused the spell check to fail.

The spelling of the word in the occurrences in this project is intentional so this is a false positive.

The false positive is fixed by adding "ameba" to the ignored words list in the codespell configuration file.
  • Loading branch information
per1234 authored Oct 3, 2023
1 parent 62919fb commit 24d2126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .codespellrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# See: https://github.com/codespell-project/codespell#using-a-config-file
[codespell]
# In the event of a false positive, add the problematic word, in all lowercase, to a comma-separated list here:
ignore-words-list = ,
ignore-words-list = ameba
check-filenames =
check-hidden =
skip = ./.git

0 comments on commit 24d2126

Please sign in to comment.