Skip to content

Commit 80d22e9

Browse files
committed
Fix spell check false positive by ignoring word
In the latest release of the codespell tool used for automated spell checking of the files of this project, the word "bu" was added to the codespell misspelled words dictionary as a misspelling of "by". This caused a false detection of a CBOR map label `bu` as a misspelling, resulting in a failing spell check result. Since the occurrence of this word is correct and intended in this project, the false positive is resolved by configuring codespell to ignore the problematic word.
1 parent 90d659c commit 80d22e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.codespellrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# See: https://github.com/codespell-project/codespell#using-a-config-file
22
[codespell]
33
# In the event of a false positive, add the problematic word, in all lowercase, to a comma-separated list here:
4-
ignore-words-list = alocation,wan
4+
ignore-words-list = alocation,bu,wan
55
check-filenames =
66
check-hidden =
77
skip = ./.git,./extras/test/external,./src/cbor/lib/tinycbor,./src/tls/bearssl

0 commit comments

Comments
 (0)