mirror of
https://github.com/Kitware/CMake.git
synced 2026-08-05 07:10:26 +00:00
pre-commit: Add tutorial exceptions for IDs and typos 1.48.0
This commit is contained in:
@@ -113,7 +113,7 @@ repos:
|
|||||||
|
|
||||||
# NOTE See BUG https://github.com/crate-ci/typos/issues/390
|
# NOTE See BUG https://github.com/crate-ci/typos/issues/390
|
||||||
- repo: https://github.com/adhtruong/mirrors-typos
|
- repo: https://github.com/adhtruong/mirrors-typos
|
||||||
rev: v1.45.2
|
rev: v1.48.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: typos
|
- id: typos
|
||||||
# NOTE Override hook's default args to prevent automatic
|
# NOTE Override hook's default args to prevent automatic
|
||||||
|
|||||||
@@ -99,4 +99,9 @@ extend-ignore-re = [
|
|||||||
# NOTE Allow to mark block of text to exclude from spellchecking as RST comments
|
# 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"
|
"(?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
|
# END Type-specific settings
|
||||||
|
|||||||
Reference in New Issue
Block a user