Skip to content

Commit 51aa117

Browse files
[pre-commit.ci] pre-commit autoupdate
updates: - [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](pre-commit/pre-commit-hooks@v5.0.0...v6.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.9.4 → v0.14.0](astral-sh/ruff-pre-commit@v0.9.4...v0.14.0)
1 parent a1885a9 commit 51aa117

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v5.0.0 # 选择最新的稳定版本
3+
rev: v6.0.0 # 选择最新的稳定版本
44
hooks:
55
- id: trailing-whitespace # 去除多余的空格
66
- id: end-of-file-fixer # 确保文件以空行结束
77
- id: check-yaml # 检查 YAML 文件格式
88
- id: check-added-large-files # 检查提交中是否包含过大的文件
99

1010
- repo: https://github.com/astral-sh/ruff-pre-commit
11-
rev: v0.9.4
11+
rev: v0.14.0
1212
hooks:
1313
# Run the linter.
1414
- id: ruff

0 commit comments

Comments
 (0)