File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
docs/dev_guides/git_guides Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2626 files : \.md$|\.rst$
2727# For Python files
2828- repo : https://github.com/astral-sh/ruff-pre-commit
29- rev : v0.9.2
29+ rev : v0.11.0
3030 hooks :
3131 - id : ruff
3232 args : [--fix, --exit-non-zero-on-fix, --no-cache]
Original file line number Diff line number Diff line change @@ -84,9 +84,9 @@ Date: xxx
8484| [pre-commit/pre-commit-hooks](https://github.com/pre-commit/pre-commit-hooks) | pre-commit 官方支持的 hook,执行一些通用检查 | 4.4.0 |
8585| [Lucas-C/pre-commit-hooks](https://github.com/Lucas-C/pre-commit-hooks.git) | 社区维护的一些通用的 hook,含将 CRLF 改为 LF、移除 Tab 等 hook | 1.5.1 |
8686| [copyright_checker](https://github.com/PaddlePaddle/Paddle/blob/develop/tools/codestyle/copyright.hook) | Copyright 检查 | 本地脚本 |
87- | [typos](https://github.com/crate-ci/typos) | 拼写错误检查 | 1.29.4 |
87+ | [typos](https://github.com/crate-ci/typos) | 拼写错误检查 | 1.30.2 |
8888| [black](https://github.com/psf/black) | Python 代码格式化 | 24.8.0 |
89- | [ruff](https://github.com/astral-sh/ruff) | Python 代码风格检查 | 0.9.2 |
89+ | [ruff](https://github.com/astral-sh/ruff) | Python 代码风格检查 | 0.11.0 |
9090| [clang-format](https://github.com/llvm/llvm-project/tree/main/clang/tools/clang-format) | C++ 代码格式化 | 13.0.0 |
9191| [cpplint](https://github.com/cpplint/cpplint) | C++ 代码风格检查 | 1.6.0 |
9292| [clang-tidy](https://github.com/llvm/llvm-project/tree/main/clang-tools-extra/clang-tidy) | C++ 代码风格检查 | 15.0.2.1 |
You can’t perform that action at this time.
0 commit comments