Skip to content

Commit 4e8beb2

Browse files
pre-commit-ci[bot]shenxianpeng2bndy5
authored
chore: pre-commit autoupdate (#401)
<!--pre-commit.ci start--> updates: - [github.com/astral-sh/ruff-pre-commit: v0.15.20 → v0.15.21](astral-sh/ruff-pre-commit@v0.15.20...v0.15.21) <!--pre-commit.ci end--> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Xianpeng Shen <xianpeng.shen@gmail.com> Co-authored-by: Brendan <2bndy5@gmail.com>
1 parent 88e5ffc commit 4e8beb2

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/pre-commit-hooks.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ on:
44
push:
55
branches: [main]
66
pull_request:
7+
types:
8+
- opened
9+
- reopened
10+
- synchronize
11+
- edited # for PR title changes
712
branches: [main]
813

914
permissions: {}

.pre-commit-config.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
ci:
2+
autofix_prs: true
3+
autofix_commit_msg: 'chore: auto fixes from pre-commit.com hooks'
4+
autoupdate_commit_ms: 'chore: pre-commit autoupdate'
5+
16
repos:
27
- repo: https://github.com/pre-commit/pre-commit-hooks
38
rev: v6.0.0
@@ -16,7 +21,7 @@ repos:
1621
exclude: '^\.yarn/releases/yarn.*js'
1722
args: ["--fix=lf"]
1823
- repo: https://github.com/astral-sh/ruff-pre-commit
19-
rev: v0.15.20
24+
rev: v0.15.21
2025
hooks:
2126
# Run the python linter.
2227
- id: ruff-check

0 commit comments

Comments
 (0)