mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 08:20:18 -06:00
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:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user