From ae7b55c692ff629b27bf414e010a1fc03a8322e3 Mon Sep 17 00:00:00 2001 From: per1234 Date: Tue, 16 Sep 2025 10:32:46 -0700 Subject: [PATCH] Fix spell check false positive The "codespell" tool is used to check for commonly misspelled words in the project files. As part of a recent update, "indx" was added to the misspelled words dictionary as a misspelling of "index". The project contains a variable named "indx", so the spell check started failing following that update. Although it is questionable whether using a variable name that is shortened from the related correct word by only a single letter, it is also not objectively wrong. Since it is believed that this was an intentional choice by the developer, the spell check failure can be considered spurious. In this case, the correct resolution is to configure codespell to ignore this word. --- .codespellrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.codespellrc b/.codespellrc index 101edae..31e5518 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 = , +ignore-words-list = indx check-filenames = check-hidden = skip = ./.git