Skip to content

fix(ci): format test_client_facade.py for ruff#290

Merged
liujuanjuan1984 merged 1 commit intomainfrom
fix/ruff-format-release
Mar 23, 2026
Merged

fix(ci): format test_client_facade.py for ruff#290
liujuanjuan1984 merged 1 commit intomainfrom
fix/ruff-format-release

Conversation

@liujuanjuan1984
Copy link
Copy Markdown
Collaborator

变更说明

本次仅修复 release 发布流程里 Run regression baseline 失败的真实原因:ruff format 在 CI 中会自动重写测试文件,导致步骤以非零状态结束,进而阻塞发布。

变更内容

1) 回归测试文件格式修正

  • 文件:tests/client/test_client_facade.py
  • 处理 ruff format 自动调整的长行断行
  • 将断行恢复为 ruff 格式化输出的单行表达式,保证与 CI 工具版本一致

影响范围

  • 仅变更文档行为无业务逻辑影响,仅影响代码风格一致性。
  • 该修复依赖 ruff format 的规范化输出,解决当前发布失败(非缓存问题)。

关联信息

@liujuanjuan1984 liujuanjuan1984 merged commit 6cb1694 into main Mar 23, 2026
3 checks passed
@liujuanjuan1984 liujuanjuan1984 deleted the fix/ruff-format-release branch March 23, 2026 05:33
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