aboutsummaryrefslogtreecommitdiff
path: root/.codespellrc
diff options
context:
space:
mode:
authorper1234 <accounts@perglass.com>2021-06-30 04:38:56 -0700
committerper1234 <accounts@perglass.com>2021-06-30 06:31:15 -0700
commit4899e506bbddf4561d51ea1c04a88335ad5f9907 (patch)
tree6d0e67f6c3f8768d7edf5e997ca0513ffd0fce61 /.codespellrc
parent24e6edd475c287cdafee0a4db2eb98927ce3cf58 (diff)
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.
Diffstat (limited to '.codespellrc')
-rw-r--r--.codespellrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.codespellrc b/.codespellrc
index 6aace1d..d5d337d 100644
--- a/.codespellrc
+++ b/.codespellrc
@@ -2,6 +2,7 @@
[codespell]
# In the event of a false positive, add the problematic word, in all lowercase, to a comma-separated list here:
ignore-words-list = hart,pullrequest
+builtin = clear
check-filenames =
check-hidden =
skip = ./.git,./firmwares/arduinoISP,./firmwares/wifishield,./bootloaders