From 8768b1f1e1da7fda3743f585e8a8957f42ecdd3c Mon Sep 17 00:00:00 2001 From: Alex Turbov Date: Tue, 7 Jul 2026 04:50:27 +0400 Subject: [PATCH] pre-commit: Add tutorial exceptions for IDs and typos 1.48.0 --- .pre-commit-config.yaml | 2 +- .typos.toml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b986c76fa7..1dc9a1005f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -113,7 +113,7 @@ repos: # NOTE See BUG https://github.com/crate-ci/typos/issues/390 - repo: https://github.com/adhtruong/mirrors-typos - rev: v1.45.2 + rev: v1.48.0 hooks: - id: typos # NOTE Override hook's default args to prevent automatic diff --git a/.typos.toml b/.typos.toml index 0db7ca8d7f..43377bdde9 100644 --- a/.typos.toml +++ b/.typos.toml @@ -99,4 +99,9 @@ extend-ignore-re = [ # NOTE Allow to mark block of text to exclude from spellchecking as RST comments "(?s)\\.\\.\\s+(NOQA|noqa):? spellcheck(: *|=| +)off.*?\\n\\.\\.\\s+(NOQA|noqa):? spellcheck(: *|=| +)on" ] + +[type.rst.extend-identifiers] +# CMake build options in the `Help/guide/tutorial/Configuration and Cache Variables.rst` +DCOMPRESSION_SOFTWARE_USE_ZLIB = "DCOMPRESSION_SOFTWARE_USE_ZLIB" +DCOMPRESSION_SOFTWARE_USE_ZSTD = "DCOMPRESSION_SOFTWARE_USE_ZSTD" # END Type-specific settings