diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3e9344b9ca1..dbcf399bbba 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,7 +19,7 @@ repos: - id: remove-tabs types: [text] - repo: https://github.com/PFCCLab/typos-pre-commit-mirror.git - rev: v1.45.0 + rev: v1.47.0 hooks: - id: typos args: [--force-exclude] diff --git a/docs/dev_guides/git_guides/codestyle_check_guide_cn.md b/docs/dev_guides/git_guides/codestyle_check_guide_cn.md index f3da00598f9..03d4dac341f 100644 --- a/docs/dev_guides/git_guides/codestyle_check_guide_cn.md +++ b/docs/dev_guides/git_guides/codestyle_check_guide_cn.md @@ -90,7 +90,7 @@ Date: xxx | [Lucas-C/pre-commit-hooks](https://github.com/Lucas-C/pre-commit-hooks.git) | 社区维护的一些通用的 hook,含将 CRLF 改为 LF、移除 Tab 等 hook | 1.5.1 | | [ast-grep](https://github.com/ast-grep/ast-grep) | 基于语法树的结构规则检查 | 0.42.1 | | [copyright_checker](https://github.com/PaddlePaddle/Paddle/blob/develop/tools/codestyle/copyright.py) | Copyright 检查 | 本地脚本 | -| [typos](https://github.com/crate-ci/typos) | 拼写错误检查 | 1.45.0 | +| [typos](https://github.com/crate-ci/typos) | 拼写错误检查 | 1.47.0 | | [ruff](https://github.com/astral-sh/ruff) | Python 代码风格检查 | 0.15.0 | | [clang-format](https://github.com/llvm/llvm-project/tree/main/clang/tools/clang-format) | C++ 代码格式化 | 13.0.0 | | [cpplint](https://github.com/cpplint/cpplint) | C++ 代码风格检查 | 1.6.0 |