Skip to content

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

Closed
pre-commit-ci[bot] wants to merge 2 commits into
masterfrom
pre-commit-ci-update-config
Closed

[pre-commit.ci] pre-commit autoupdate#97
pre-commit-ci[bot] wants to merge 2 commits into
masterfrom
pre-commit-ci-update-config

Conversation

@pre-commit-ci

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

Copy link
Copy Markdown
Contributor

updates:

Summary by Sourcery

构建:

  • .pre-commit-config.yaml 中将 ruff-pre-commit 钩子的版本从 v0.15.20 升级到 v0.15.21
Original summary in English

Summary by Sourcery

Build:

  • Bump ruff-pre-commit hook revision from v0.15.20 to v0.15.21 in .pre-commit-config.yaml.

@sourcery-ai

sourcery-ai Bot commented Jul 13, 2026

Copy link
Copy Markdown
审阅者指南(在较小的 PR 上折叠)

审阅者指南

此 PR 将 pre-commit 配置中的 ruff-pre-commit hook 版本更新为 v0.15.21,在不更改其他任何设置的情况下保持代码检查工具为最新版本。

文件级变更

变更 详情 文件
在 pre-commit 配置中将 ruff-pre-commit hook 修订版本提升到最新补丁版本。
  • 在 pre-commit 配置中将 ruff-pre-commit 仓库修订版本从 v0.15.20 更新为 v0.15.21
  • 保留现有的 ruff hook 配置,包括 --fix 参数和其他 hooks
.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 来触发新的审阅!

自定义你的体验

访问你的 dashboard 以:

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

获取帮助

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

Reviewer's Guide

This PR updates the ruff-pre-commit hook version in the pre-commit configuration to v0.15.21, keeping linting tooling up to date without changing any other settings.

File-Level Changes

Change Details Files
Bump the ruff-pre-commit hook revision to the latest patch version in the pre-commit configuration.
  • Update the ruff-pre-commit repository revision from v0.15.20 to v0.15.21 in the pre-commit config
  • Retain existing ruff hook configuration, including the --fix argument and other hooks
.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

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

嗨——我已经审阅过你的更改了,看起来非常棒!


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 2 times, most recently from da82184 to 4d2e058 Compare July 27, 2026 20:16
@github-actions github-actions Bot added area: backend Backend or core runtime changes area: tests Test changes labels Jul 27, 2026
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.15.20 → v0.16.1](astral-sh/ruff-pre-commit@v0.15.20...v0.16.1)
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from c0a9da6 to 83c025f Compare August 3, 2026 20:34
@FlanChanXwO FlanChanXwO closed this Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: backend Backend or core runtime changes area: tests Test changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant