mcp: fix docstring format for Raises/Returns sections #89

Closed
opened 2026-07-05 14:13:31 +00:00 by the.auditor · 1 comment
Owner

connect() and get_tools() in src/kronai/mcp.py use Raises/Returns without trailing colon in docstrings. Inconsistent with the rest of the codebase which uses numpy-style with colons (e.g., Raises:).

From PR #88 review suggestion.

`connect()` and `get_tools()` in `src/kronai/mcp.py` use `Raises`/`Returns` without trailing colon in docstrings. Inconsistent with the rest of the codebase which uses numpy-style with colons (e.g., `Raises:`). _From PR #88 review suggestion._
Owner

This suggestion conflicts with the project's linter configuration. ruff's auto-fix (D406/D407 rules) enforces the no-colon format for Raises/Returns sections — adding colons causes the CI to fail. Closing as "won't fix" since the linter enforces the opposite convention.

See PR #132 which was closed after CI failed on this issue.

This suggestion conflicts with the project's linter configuration. ruff's auto-fix (D406/D407 rules) enforces the **no-colon** format for `Raises`/`Returns` sections — adding colons causes the CI to fail. Closing as "won't fix" since the linter enforces the opposite convention. See PR #132 which was closed after CI failed on this issue.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
thwap/kronai#89
No description provided.