Skip to content

Commit 8788c10

Browse files
jonpspriclaude
andcommitted
style(tool-service): fix pylint implicit-str-concat in _coerce_to_tool_result log
Black had collapsed the dict-envelope validation-failure warning into two adjacent string literals on one line, which pylint flags as ``W1404 implicit-str-concat``. Merge the halves into a single literal. No behavioural change. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Jonathan Springer <jps@s390x.com>
1 parent dd8e7b9 commit 8788c10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcpgateway/services/tool_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1667,7 +1667,7 @@ def _coerce_to_tool_result(self, payload: Any) -> ToolResult:
16671667
# upstream gets flagged in ops logs rather than silently
16681668
# downgraded to text.
16691669
logger.warning(
1670-
"Dict payload matched MCP-envelope heuristics but failed ToolResult validation; " "falling back to text serialisation",
1670+
"Dict payload matched MCP-envelope heuristics but failed ToolResult validation; falling back to text serialisation",
16711671
exc_info=True,
16721672
)
16731673

0 commit comments

Comments
 (0)