Skip to content

Commit 67f5f0e

Browse files
authored
[CodeStyle][Ruff] Bump ruff to v0.13.0 (#7432)
1 parent 4e08a60 commit 67f5f0e

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ repos:
2626
files: \.md$|\.rst$
2727
# For Python files
2828
- repo: https://github.com/astral-sh/ruff-pre-commit
29-
rev: v0.12.0
29+
rev: v0.13.0
3030
hooks:
3131
- id: ruff-check
3232
args: [--fix, --exit-non-zero-on-fix, --no-cache]

docs/dev_guides/git_guides/codestyle_check_guide_cn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Date: xxx
8787
| [Lucas-C/pre-commit-hooks](https://github.com/Lucas-C/pre-commit-hooks.git) | 社区维护的一些通用的 hook,含将 CRLF 改为 LF、移除 Tab 等 hook | 1.5.1 |
8888
| [copyright_checker](https://github.com/PaddlePaddle/Paddle/blob/develop/tools/codestyle/copyright.hook) | Copyright 检查 | 本地脚本 |
8989
| [typos](https://github.com/crate-ci/typos) | 拼写错误检查 | 1.30.2 |
90-
| [ruff](https://github.com/astral-sh/ruff) | Python 代码风格检查 | 0.12.0 |
90+
| [ruff](https://github.com/astral-sh/ruff) | Python 代码风格检查 | 0.13.0 |
9191
| [clang-format](https://github.com/llvm/llvm-project/tree/main/clang/tools/clang-format) | C++ 代码格式化 | 13.0.0 |
9292
| [cpplint](https://github.com/cpplint/cpplint) | C++ 代码风格检查 | 1.6.0 |
9393
| [clang-tidy](https://github.com/llvm/llvm-project/tree/main/clang-tools-extra/clang-tidy) | C++ 代码风格检查 | 15.0.2.1 |

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ ignore = [
109109
"E741",
110110
"F841",
111111
"UP015",
112-
"UP038"
113112
]
114113

115114
[tool.ruff.lint.isort]

0 commit comments

Comments
 (0)