Skip to content

Commit 4899e50

Browse files
committed
Don't use codespell's "rare" dictionary for CI spell check
The word "statics" was recently added to codespell's "rare" commonly mispelled words directory. By default, this dictionary is used in addition to the more conservative "clear" dictionary, resulting in a spurious failure of the "Spell Check" CI workflow. Although this could be fixed by adding the word to the ignore list, it seems that an increasing number of common words being added to this dictionary, so I think it's best to just remove it altogether. The goal for the "Spell Check" workflow is to catch some typos without a significant number of false positives, even if that means some misspellings slip through. I think the "clear" dictionary is more in line with that goal.
1 parent 24e6edd commit 4899e50

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: .codespellrc

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
[codespell]
33
# In the event of a false positive, add the problematic word, in all lowercase, to a comma-separated list here:
44
ignore-words-list = hart,pullrequest
5+
builtin = clear
56
check-filenames =
67
check-hidden =
78
skip = ./.git,./firmwares/arduinoISP,./firmwares/wifishield,./bootloaders

0 commit comments

Comments
 (0)