From a441ca35eabf588e821c65b8f42e60b8cff06c54 Mon Sep 17 00:00:00 2001 From: per1234 Date: Tue, 28 May 2024 03:03:39 -0700 Subject: [PATCH] Fix spell check false positives by ignoring words The codespell spellchecker tool is used to automatically detect commonly misspelled words in the files of this project. The misspelled words dictionary was expanded in the latest release of codespell. Some of the text in the project codebase happens to match against newly added entries, which caused codespell to produce false misspelled word detections. Since the code that produced the detections is correct and intended, the false positives are 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 eb8512d..78febc2 100644 --- a/.codespellrc +++ b/.codespellrc @@ -2,7 +2,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 = ois, +ignore-words-list = interruptin,ois, skip = ./.git,./.licenses,__pycache__,node_modules,./go.mod,./go.sum,./package-lock.json,./poetry.lock,./yarn.lock builtin = clear,informal,en-GB_to_en-US check-filenames =