Skip to content

[pre-commit.ci] pre-commit autoupdate#19

Merged
FlanChanXwO merged 2 commits into
masterfrom
pre-commit-ci-update-config
May 18, 2026
Merged

[pre-commit.ci] pre-commit autoupdate#19
FlanChanXwO merged 2 commits into
masterfrom
pre-commit-ci-update-config

Conversation

@pre-commit-ci
Copy link
Copy Markdown
Contributor

@pre-commit-ci pre-commit-ci Bot commented Apr 13, 2026

updates:

Summary by Sourcery

Build:

  • .pre-commit-config.yaml 中将 ruff-pre-commit 钩子从 v0.15.9 升级到 v0.15.10
Original summary in English

Summary by Sourcery

Build:

  • Bump ruff-pre-commit hook from v0.15.9 to v0.15.10 in .pre-commit-config.yaml.

@pre-commit-ci pre-commit-ci Bot requested a review from FlanChanXwO as a code owner April 13, 2026 20:17
@sourcery-ai
Copy link
Copy Markdown
Contributor

sourcery-ai Bot commented Apr 13, 2026

评审者指南(在小型 PR 中折叠显示)

评审者指南

在共享的 pre-commit 配置中,将 ruff pre-commit 钩子更新到最新补丁版本。

文件级变更

变更 详情 文件
在 pre-commit 配置中将 ruff-pre-commit 钩子从 v0.15.9 升级到 v0.15.10。
  • 在 .pre-commit-config.yaml 文件中将 ruff-pre-commit 仓库的 revision 更新为 v0.15.10
  • 除版本升级外,保持现有的 ruff 钩子配置(包括 --fix 参数)不变
.pre-commit-config.yaml

提示和命令

与 Sourcery 交互

  • 触发新的评审: 在 pull request 中评论 @sourcery-ai review
  • 继续讨论: 直接回复 Sourcery 的评审评论。
  • 从评审评论生成 GitHub issue: 通过回复某条评审评论,请求 Sourcery 根据该评论创建一个 issue。你也可以回复该评审评论并添加 @sourcery-ai issue 来从中创建一个 issue。
  • 生成 pull request 标题: 在 pull request 标题的任何位置写上 @sourcery-ai,即可随时生成标题。你也可以在 pull request 中评论 @sourcery-ai title 来(重新)生成标题。
  • 生成 pull request 摘要: 在 pull request 正文的任意位置写上 @sourcery-ai summary,即可在你想要的位置随时生成 PR 摘要。你也可以在 pull request 中评论 @sourcery-ai summary 来(重新)生成摘要。
  • 生成评审者指南: 在 pull request 中评论 @sourcery-ai guide,即可随时(重新)生成评审者指南。
  • 解决所有 Sourcery 评论: 在 pull request 中评论 @sourcery-ai resolve,即可将所有 Sourcery 评论标记为已解决。如果你已经处理了所有评论且不想再看到它们,这会很有用。
  • 忽略所有 Sourcery 评审: 在 pull request 中评论 @sourcery-ai dismiss,即可忽略所有现有的 Sourcery 评审。特别适用于你想从头开始一次新的评审 —— 别忘了再评论 @sourcery-ai review 来触发新的评审!

自定义你的体验

访问你的控制面板以:

  • 启用或禁用评审功能,例如 Sourcery 自动生成的 pull request 摘要、评审者指南等。
  • 更改评审语言。
  • 添加、删除或编辑自定义评审指令。
  • 调整其他评审设置。

获取帮助

Original review guide in English
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Updates the ruff pre-commit hook to the latest patch version in the shared pre-commit configuration.

File-Level Changes

Change Details Files
Bump ruff-pre-commit hook from v0.15.9 to v0.15.10 in pre-commit configuration.
  • Update the ruff-pre-commit repo revision to v0.15.10 in the .pre-commit-config.yaml file
  • Keep existing ruff hook configuration (including --fix args) unchanged aside from the version bump
.pre-commit-config.yaml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - 我已经查看了你的修改,看起来很棒!


Sourcery 对开源项目是免费的——如果你觉得我们的代码审查有帮助,欢迎分享 ✨
帮我变得更有用!请在每条评论上点 👍 或 👎,我会根据你的反馈改进后续的代码审查。
Original comment in English

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@pre-commit-ci pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from 1bbbc64 to ba7d176 Compare April 20, 2026 20:03
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.15.9 → v0.15.12](astral-sh/ruff-pre-commit@v0.15.9...v0.15.12)
@pre-commit-ci pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from ec45352 to 140d356 Compare April 27, 2026 20:41
@FlanChanXwO FlanChanXwO merged commit e9933a9 into master May 18, 2026
1 of 2 checks passed
@FlanChanXwO FlanChanXwO deleted the pre-commit-ci-update-config branch May 18, 2026 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant