style(server): fix over-indentation in music_generation function body (#69)#84
Open
TumCucTom wants to merge 1 commit into
Open
style(server): fix over-indentation in music_generation function body (#69)#84TumCucTom wants to merge 1 commit into
TumCucTom wants to merge 1 commit into
Conversation
The body of music_generation() was indented one level too deep (8 spaces) compared to its peers (text_to_image, voice_design, etc.), which use 4 spaces inside the function. The closing ) of the last except block was also at the wrong column, which a strict linter would flag. Dedent the function body by 4 spaces to match the rest of the file. No behaviour change; pure cosmetic/style fix. Fixes MiniMax-AI#69. Co-authored-by: Zippy AI <tomkinsbale@icloud.com> Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
music_generation()inminimax_mcp/server.pyby 4 spaces so it matches its peer functions.Why
Issue #69: the function body was indented one level too deep (8 spaces) compared to peer functions like
text_to_imageandvoice_design(4 spaces). The closing)of the final except block was also at the wrong column. Pure style fix, no behaviour change.Test plan
python3 -c "import ast; ast.parse(...)"confirms the file still parsespytest tests/still greenFixes #69.
🤖 Generated with Claude Code