codespell: Prune ignore list

Remove entries from the codespell ignore list that do not seem to be
present any more. Also, remove a deliberate typo and instead add a local
annotation to ignore it.

This list is still uncomfortably long, but unfortunately current
versions of codespell do not offer any granularity in between annotating
individual uses (which is not practical in most cases) or globally
ignoring words (which is overly broad and risks missing real errors).
This commit is contained in:
Matthew Woehlke
2025-11-04 12:45:30 -05:00
parent d197474083
commit 7cc114601a
2 changed files with 1 additions and 7 deletions

View File

@@ -26,11 +26,9 @@ skip =
# noqa: spellcheck off
ignore-words-list =
abd,
aci,
ags,
ake,
ans,
ba,
ccompiler,
cconfiguration,
certi,
@@ -44,9 +42,6 @@ ignore-words-list =
filetest,
fo,
helpfull,
hiden,
isnt,
keypair,
nd,
ned,
nin,
@@ -57,7 +52,6 @@ ignore-words-list =
seh,
ser,
te,
upto,
varn,
vas,
wee,

View File

@@ -5,4 +5,4 @@ set(CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY_INLINES_HIDDEN "-fvisibility-inlines-hi
set(CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY "-fvisibility=")
add_library(visibility_preset SHARED lib.cpp)
set_property(TARGET visibility_preset PROPERTY CXX_VISIBILITY_PRESET hiden)
set_property(TARGET visibility_preset PROPERTY CXX_VISIBILITY_PRESET hiden) # codespell:ignore hiden