diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fccc0bef8c..8b6d940ff4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -108,7 +108,7 @@ repos: stages: [commit-msg, pre-commit] - repo: https://github.com/crate-ci/typos - rev: v1.29.4 + rev: v1.30.0 hooks: - id: typos # NOTE Override hook's default args to prevent automatic diff --git a/.typos.toml b/.typos.toml index c06745a69c..d84055e5ed 100644 --- a/.typos.toml +++ b/.typos.toml @@ -35,6 +35,7 @@ Spectre = "Spectre" [type.cmake.extend-identifiers] COMMANDs = "COMMANDs" xCOMMANDx = "xCOMMANDx" +TYPEs = "TYPEs" [type.cmake.extend-words] # Some compiler's options trigger false-positives @@ -53,6 +54,9 @@ fo = "fo" Ot = "Ot" SEH = "SEH" +[type.py.extend-identifiers] +typ = "typ" + [files] ignore-hidden = false ignore-dot = false