Repository navigation
chore: update ruff requirement from >=0.17.2 to >=0.17.3 - #14
Merged
Merged
Conversation
Contributor
Author
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
Updates the requirements on [ruff](https://github.com/astral-sh/ruff) to permit the latest version. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@0.17.2...0.17.3) --- updated-dependencies: - dependency-name: ruff dependency-version: 0.17.3 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot
Bot
force-pushed
the
dependabot/pip/ruff-gte-0.17.3
branch
from
November 2, 2026 01:16
97638aa to
d00fb66
Compare
laincat
added a commit
that referenced
this pull request
Nov 4, 2026
2026-11-02 的「Dependabot validated merge」在 PR #14 上失败: CalledProcessError: Command '['gh', 'pr', 'merge', '14', '--repo', laincat/AwesomePyKit', '--squash', '--delete-branch', '--match-head-commit', '97638aa...']' returned non-zero exit status 1 脚本先按 sha 校验检查项,再执行带 --match-head-commit 的合并;这中间 Dependabot 又推了新提交(01:16:55 → d00fb66),头提交不再匹配,gh 拒绝 合并,check=True 直接把整轮门禁判红。下一次调度(01:19:27)已经正常合掉 同一个 PR,说明只是竞态。 改动: - gh pr merge 包在 try/except 里:失败时打印 "PR #N: merge skipped: ..." 并 继续下一个 PR,让下一次调度重新校验; - 合并成功后触发 post-merge / release 的 workflow_dispatch 仍然 check=True, 那一步失败是真问题,不能吞; - 补一条回归测试:合并调用抛 CalledProcessError 时不抛异常、也不触发后续 dispatch。 验证:python -m unittest test_dependabot_merge(含新增用例)通过; ruff check 通过。 Co-authored-by: laincat <1129621+laincat@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates the requirements on ruff to permit the latest version.
Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
ba65abfBump version to 0.17.3 (#29745)fb2f921[ty] Fix narrowing of strings and integers compared with enum members (#29743)d181287[ty] Index nominal union alternatives (#29196)07872ad[ty] Preserve string literals in comparisons withLiteralString(#29741)95888b2[ty] Preserve narrowing after guarded match subject captures (#29558)3c8166b[ty] Fix hang when negating recursive unions of instance types (#29652)3fd20e0[ty] Preserve generic callback specializations during return refinement (#29667)2f0a29e[ty] Record predicate truthiness alongside expression inference (#29706)60f104a[ty] Honor@overrideon overload implementations in stubs (#29470)207ec3a[ty] Add diagnostic baseline support (#27636)