Browse Source

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).
Matthew Woehlke 3 weeks ago
parent
commit
7cc114601a
2 changed files with 1 additions and 7 deletions
  1. 0 6
      .codespellrc
  2. 1 1
      Tests/RunCMake/VisibilityPreset/PropertyTypo.cmake

+ 0 - 6
.codespellrc

@@ -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,

+ 1 - 1
Tests/RunCMake/VisibilityPreset/PropertyTypo.cmake

@@ -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