Skip to content

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

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

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

Conversation

@pre-commit-ci

@pre-commit-ci pre-commit-ci Bot commented Apr 28, 2025

Copy link
Copy Markdown
Contributor

updates:

好的,这是翻译成中文的 pull request 总结:

Sourcery 总结

构建:

  • 更新 ruff-pre-commit hook 至 v0.11.7。
Original summary in English

Sourcery 摘要

构建:

  • 将 pre-commit 使用的 Black、Ruff 和 pre-commit-hooks 依赖项更新到指定的最新版本。
Original summary in English

Sourcery 总结

增强功能:

  • 将 pre-commit 格式化和代码检查钩子更新至当前版本的 Black、Ruff 和 pre-commit-hooks。
Original summary in English

Sourcery 总结

增强功能:

  • 将 pre-commit 格式化、代码检查和代码库维护钩子更新到较新版本,包括 Black 的 pre-commit 镜像。
Original summary in English

Summary by Sourcery

Enhancements:

  • Update the pre-commit formatting, linting, and repository maintenance hooks to newer releases, including Black’s pre-commit mirror.

@sourcery-ai

sourcery-ai Bot commented Apr 28, 2025

Copy link
Copy Markdown
## Sourcery 评审者指南

此 PR 更新了 .pre-commit-config.yaml 文件中 ruff pre-commit hook 的版本。

_由于更改看起来很简单,不需要可视化表示,因此未生成图表。_

### 文件级别更改

| 变更 | 详情 | 文件 |
| ------ | ------- | ----- |
| 更新 ruff pre-commit hook 版本 | <ul><li>更新了 ruff 的 revision</li></ul> | `.pre-commit-config.yaml` |

---

<details>
<summary>提示和命令</summary>

#### 与 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` 以触发新的审查!

#### 自定义您的体验

访问您的 [仪表板](https://app.sourcery.ai) 以:
- 启用或禁用审查功能,例如 Sourcery 生成的 pull request 摘要、评审者指南等。
- 更改审查语言。
- 添加、删除或编辑自定义审查说明。
- 调整其他审查设置。

#### 获取帮助

- [联系我们的支持团队](mailto:support@sourcery.ai) 提出问题或反馈。
- 访问我们的 [文档](https://docs.sourcery.ai) 获取详细指南和信息。
- 通过在 [X/Twitter](https://x.com/SourceryAI)[LinkedIn](https://www.linkedin.com/company/sourcery-ai/)[GitHub](https://github.com/sourcery-ai) 上关注我们,与 Sourcery 团队保持联系。

</details>
Original review guide in English

Reviewer's Guide by Sourcery

This PR updates the version of the ruff pre-commit hook in the .pre-commit-config.yaml file.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Update ruff pre-commit hook version
  • Updated the revision for ruff
.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.

我们跳过了对此 pull request 的审查。它似乎是由一个机器人创建的(嘿,pre-commit-ci[bot]!)。我们假设它知道自己在做什么!

Original comment in English

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, pre-commit-ci[bot]!). We assume it knows what it's doing!

@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from 215ce06 to 7d7d1e8 Compare May 12, 2025 16:45
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from 7d7d1e8 to b67c7f9 Compare May 19, 2025 16:45
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from b67c7f9 to 35988a7 Compare May 26, 2025 16:45
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from d22554b to 58106e6 Compare June 9, 2025 16:46
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from 0a4e2fd to 84ff806 Compare June 30, 2025 16:45
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from 78e0eb9 to 0fd5df6 Compare July 14, 2025 16:45
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from 026735a to 60c82b0 Compare July 28, 2025 16:48
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from 60c82b0 to 381dca1 Compare August 4, 2025 16:53
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from e018973 to 9143099 Compare August 18, 2025 16:50
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from 9143099 to 44d88df Compare August 25, 2025 16:48
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from 794f955 to 1695530 Compare September 8, 2025 16:50
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from 1695530 to 81d29e1 Compare September 15, 2025 16:50
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from 7dacfba to cafd2d1 Compare September 29, 2025 16:48
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from b4dad1d to 53f4daa Compare October 13, 2025 16:52
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from 5273627 to 113b130 Compare October 27, 2025 16:50
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from 113b130 to aad366b Compare November 3, 2025 16:54
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from c0b13fa to 7178a37 Compare November 17, 2025 16:52
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from 73edf3e to d7694d6 Compare February 16, 2026 16:51
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from d7694d6 to 26c5ed4 Compare February 23, 2026 16:54
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from 26c5ed4 to b09559f Compare March 2, 2026 16:55
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from 14eed09 to ea67036 Compare March 16, 2026 16:54
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from 11a17b2 to 05c82e6 Compare March 30, 2026 16:51
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from 39b1eeb to 8c6941f Compare April 13, 2026 16:50
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from 8c6941f to 314ff3e Compare April 20, 2026 16:50
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from 314ff3e to b2e6e0c Compare April 27, 2026 16:55
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from d683e6f to 6ad519b Compare May 25, 2026 16:52
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from 05510db to 120f15f Compare June 8, 2026 16:52
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from 17d176c to a0072af Compare June 22, 2026 16:52
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from a0072af to f98d45a Compare June 29, 2026 16:52
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from 0028bac to a54dfa0 Compare July 20, 2026 16:54
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from a54dfa0 to 69402a9 Compare July 27, 2026 16:53
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from 69402a9 to b10f0d7 Compare August 3, 2026 16:57
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from b10f0d7 to 45264de Compare August 10, 2026 16:58
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from 45264de to d5fc303 Compare August 17, 2026 16:59
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from d5fc303 to 0bb3f6e Compare August 24, 2026 16:59
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from e39c84b to 8555c9b Compare September 7, 2026 17:01
updates:
- https://github.com/psf/blackhttps://github.com/psf/black-pre-commit-mirror
- [github.com/psf/black-pre-commit-mirror: 25.1.0 → 26.5.1](psf/black-pre-commit-mirror@25.1.0...26.5.1)
- [github.com/astral-sh/ruff-pre-commit: v0.11.6 → v0.16.7](astral-sh/ruff-pre-commit@v0.11.6...v0.16.7)
- [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](pre-commit/pre-commit-hooks@v5.0.0...v6.0.0)
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from 8555c9b to c5a976e Compare September 14, 2026 17:00
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