From ccca04afb3386388ca6eb6f65fcdcab9ac054967 Mon Sep 17 00:00:00 2001 From: per1234 Date: Sat, 3 Sep 2022 12:25:22 -0700 Subject: [PATCH] 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 "clen" was added to the codespell misspelled words dictionary as a misspelling of "clean". This caused a false detection of a struct member name `clen` as a misspelling, resulting in a failing spell check result. Since the occurrence of this name is correct and intended in this project, the false positive is resolved by configuring codespell to ignore the problematic word. --- .codespellrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.codespellrc b/.codespellrc index d5d337d2c..825e4a0a2 100644 --- a/.codespellrc +++ b/.codespellrc @@ -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 = hart,pullrequest +ignore-words-list = clen,hart,pullrequest builtin = clear check-filenames = check-hidden =