From d2752135cb40d306327327bac75c590dc112a8f0 Mon Sep 17 00:00:00 2001 From: Alex Turbov Date: Sun, 26 Jan 2025 05:19:27 +0400 Subject: codespell: Fix typos found by version 2.4 --- .codespellrc | 1 + .gitlab/os-windows.yml | 2 +- Help/policy/CMP0120.rst | 2 +- Help/policy/CMP0168.rst | 2 +- Tests/RunCMake/CMakePackage/ApplePlatformGenSubdir.cmake | 2 +- Tests/RunCMake/FetchContent/DirOverridesDisconnected.cmake | 2 +- 6 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.codespellrc b/.codespellrc index 08c6f53..2551cca 100644 --- a/.codespellrc +++ b/.codespellrc @@ -23,6 +23,7 @@ skip = # noqa: spellcheck off ignore-words-list = + abd, aci, ags, ake, diff --git a/.gitlab/os-windows.yml b/.gitlab/os-windows.yml index 5c67663..d19dd74 100644 --- a/.gitlab/os-windows.yml +++ b/.gitlab/os-windows.yml @@ -26,7 +26,7 @@ variables: # Debug and RelWithDebinfo build types use the `/Zi` which results in - # uncacheable compiations. + # uncacheable compilations. # https://github.com/mozilla/sccache/issues/242 CMAKE_CI_BUILD_TYPE: Release CTEST_NO_WARNINGS_ALLOWED: 1 diff --git a/Help/policy/CMP0120.rst b/Help/policy/CMP0120.rst index 0ffeb0e..bba2291 100644 --- a/Help/policy/CMP0120.rst +++ b/Help/policy/CMP0120.rst @@ -6,7 +6,7 @@ CMP0120 The :module:`WriteCompilerDetectionHeader` module is removed. CMake versions 3.1 through 3.19 provide this module to generate a -C++ compatibility layer by re-using information from CMake's table of +C++ compatibility layer by reusing information from CMake's table of preprocessor checks for :manual:`cmake-compile-features(7)`. However: * Those granular features have been superseded by meta-features for diff --git a/Help/policy/CMP0168.rst b/Help/policy/CMP0168.rst index cab40b9..ec8ef2a 100644 --- a/Help/policy/CMP0168.rst +++ b/Help/policy/CMP0168.rst @@ -35,7 +35,7 @@ The ``NEW`` behavior has the following characteristics: tracking and populating the dependency. This will force the dependency's download, update, and patch steps to be re-executed. The directory used for downloads is not affected by :option:`cmake --fresh`, so any previously - downloaded files for the ``URL`` download method can still be re-used. + downloaded files for the ``URL`` download method can still be reused. The ``OLD`` behavior has the following characteristics: diff --git a/Tests/RunCMake/CMakePackage/ApplePlatformGenSubdir.cmake b/Tests/RunCMake/CMakePackage/ApplePlatformGenSubdir.cmake index e472665..2ad64ae 100644 --- a/Tests/RunCMake/CMakePackage/ApplePlatformGenSubdir.cmake +++ b/Tests/RunCMake/CMakePackage/ApplePlatformGenSubdir.cmake @@ -18,7 +18,7 @@ file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/install/${CMAKE_INSTALL_DATADIR}/pkg_a_in [[message(STATUS "Hello from pkg_a")]] ) -# To expose re-using the same package prefix variable, we need to use a +# To expose reusing the same package prefix variable, we need to use a # different install prefix. This is really contrived and not representative of # what a package should do. generate_apple_platform_selection_file( diff --git a/Tests/RunCMake/FetchContent/DirOverridesDisconnected.cmake b/Tests/RunCMake/FetchContent/DirOverridesDisconnected.cmake index 2e9d7ed..17aa794 100644 --- a/Tests/RunCMake/FetchContent/DirOverridesDisconnected.cmake +++ b/Tests/RunCMake/FetchContent/DirOverridesDisconnected.cmake @@ -2,7 +2,7 @@ cmake_policy(SET CMP0169 OLD) include(FetchContent) -# Test using saved details. We are re-using a SOURCE_DIR from a previous test +# Test using saved details. We are reusing a SOURCE_DIR from a previous test # so the download command should not be executed. FetchContent_Declare( t1 -- cgit v0.12