refactor: McpError renamed to MCPError and flatten parameters#1956
refactor: McpError renamed to MCPError and flatten parameters#1956
McpError renamed to MCPError and flatten parameters#1956Conversation
Code ReviewI found several CLAUDE.md compliance issues related to missing docstrings on public API methods. Issue: Missing Docstrings on Public API MethodsThe
Since Missing docstrings in
|
690434d to
1e3e62f
Compare
|
|
||
| ### `McpError` renamed to `MCPError` | ||
|
|
||
| The `McpError` exception class has been renamed to `MCPError` for consistent naming with the MCP acronym style used throughout the SDK. |
There was a problem hiding this comment.
I think this makes sense to be consistent. Although it does go against the google style guide: https://google.github.io/styleguide/pyguide.html#3162-naming-conventions
but since we're not strictly following that then it's not really an issue :)
There was a problem hiding this comment.
Where are you seeing the lack of consistency? MCP is an acronymn, so that's why it would be uppercased.
There was a problem hiding this comment.
Oh no, I was agreeing with you that it makes sense for consistency, as you wrote "The McpError exception class has been renamed to MCPError for consistent naming".
I was just linking the google style guide saying to use CapWords which I thiiink also apply to acronyms? but I don't think we should follow that anyway
Co-authored-by: Max Isbey <224885523+maxisbey@users.noreply.github.com>
No description provided.