Skip to content

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

Open
pre-commit-ci[bot] wants to merge 1 commit into
masterfrom
pre-commit-ci-update-config
Open

[pre-commit.ci] pre-commit autoupdate#24
pre-commit-ci[bot] wants to merge 1 commit into
masterfrom
pre-commit-ci-update-config

Conversation

@pre-commit-ci
Copy link
Copy Markdown
Contributor

@pre-commit-ci pre-commit-ci Bot commented May 18, 2026

updates:

Sourcery 总结

构建:

  • 在 pre-commit 配置中将 ruff-pre-commit 钩子从 v0.15.12 升级到 v0.15.13。
Original summary in English

Summary by Sourcery

Build:

  • Bump ruff-pre-commit hook from v0.15.12 to v0.15.13 in the pre-commit configuration.

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

sourcery-ai Bot commented May 18, 2026

审阅者指南(在小型 PR 上折叠显示)

审阅者指南

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

文件级变更

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

技巧与命令

与 Sourcery 交互

  • 触发新的审阅: 在拉取请求中评论 @sourcery-ai review
  • 继续讨论: 直接回复 Sourcery 的审阅评论。
  • 根据审阅评论创建 GitHub issue: 通过回复审阅评论,要求 Sourcery 根据该评论创建一个 issue。你也可以回复审阅评论 @sourcery-ai issue 来从中创建一个 issue。
  • 生成拉取请求标题: 在拉取请求标题的任意位置写上 @sourcery-ai,即可随时生成标题。你也可以在拉取请求中评论 @sourcery-ai title 来(重新)生成标题。
  • 生成拉取请求摘要: 在拉取请求正文的任意位置写上 @sourcery-ai summary,即可在你希望的准确位置生成 PR 摘要。你也可以在拉取请求中评论 @sourcery-ai summary 来(重新)生成摘要。
  • 生成审阅者指南: 在拉取请求中评论 @sourcery-ai guide,即可随时(重新)生成审阅者指南。
  • 解决所有 Sourcery 评论: 在拉取请求中评论 @sourcery-ai resolve,即可解决所有 Sourcery 评论。如果你已经处理完所有评论且不想再看到它们,这会很有用。
  • 撤销所有 Sourcery 审阅: 在拉取请求中评论 @sourcery-ai dismiss,即可撤销所有现有的 Sourcery 审阅。如果你想从一次全新的审阅开始,这尤其有用 —— 记得再评论 @sourcery-ai review 来触发新的审阅!

自定义你的体验

前往你的 控制面板 以:

  • 启用或禁用审阅功能,例如 Sourcery 生成的拉取请求摘要、审阅者指南等。
  • 更改审阅语言。
  • 添加、移除或编辑自定义审阅说明。
  • 调整其他审阅设置。

获取帮助

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 release in the pre-commit configuration.

File-Level Changes

Change Details Files
Bump ruff pre-commit hook version to v0.15.13 in pre-commit configuration.
  • Update the ruff-pre-commit repository revision from v0.15.12 to v0.15.13 in the config.
  • Keep existing ruff hook configuration, including the --fix argument, unchanged.
.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.

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.15.12 → v0.15.14](astral-sh/ruff-pre-commit@v0.15.12...v0.15.14)
@pre-commit-ci pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from 02626c8 to c3f5aeb Compare May 25, 2026 20:28
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.

0 participants