Commit 195f473
style: 修复 yapf 格式校验报错
CI 的 yapf lint 在三处与本仓库的 [tool.yapf]
(based_on_style=pep8, column_limit=120) 不一致,本提交按 yapf
建议自动修正:
- trpc_agent_sdk/code_executors/__init__.py: 删除 import 块和
__all__ 之间的多余空行(同段跨语义边界 yapf 不允许双空行)。
- trpc_agent_sdk/code_executors/cube/_code_executor.py:
``Field(default_factory=...)`` 单行表达式 < 120 列,yapf 折叠
为单行。
- trpc_agent_sdk/code_executors/local/_local_ws_runtime.py:
超过 120 列的 ``self._build_manifest_output(...)`` 调用按 yapf
默认风格逐参数换行。
无逻辑变更;仅排版。
Assisted-by: Cursor:claude-opus-4.7
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 0c2257c commit 195f473
3 files changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | 95 | | |
97 | 96 | | |
98 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | | - | |
95 | | - | |
| 93 | + | |
96 | 94 | | |
97 | 95 | | |
98 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
499 | 499 | | |
500 | 500 | | |
501 | 501 | | |
502 | | - | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
503 | 507 | | |
504 | 508 | | |
505 | 509 | | |
| |||
0 commit comments