Skip to content

style(tests): fix ruff format check left red by #1960 - #1965

Merged
igorls merged 1 commit into
MemPalace:developfrom
Evgen197310:fix/test-format-mcp-writer-self-heal
Jul 10, 2026
Merged

style(tests): fix ruff format check left red by #1960#1965
igorls merged 1 commit into
MemPalace:developfrom
Evgen197310:fix/test-format-mcp-writer-self-heal

Conversation

@Evgen197310

Copy link
Copy Markdown
Contributor

Problem

#1960 was merged with a red lint job. The failing step was ruff format --check . (not an actual test — all six test jobs on linux 3.9/3.11/3.13, macOS and Windows passed). The formatter wanted to collapse the multi-line raise palace.MineAlreadyRunning(...) in the new test_peer_writer_readonly_self_heals_after_peer_exits onto a single line, since it fits the configured line length.

Because the merge went in red, develop is now also red on lint.

Fix

Run ruff format on that one statement. Verified with the exact CI command on the full tree:

$ ruff format --check .
187 files already formatted
$ ruff check tests/test_mcp_server.py
All checks passed!

No logic change — pure formatting.

🤖 Generated with Claude Code

PR MemPalace#1960 merged with a red `lint` job: `ruff format --check .` wanted to
collapse the multi-line `MineAlreadyRunning(...)` raise in the new
`test_peer_writer_readonly_self_heals_after_peer_exits` onto one line
(it fits the line-length limit). All six real test jobs passed; only the
formatter check failed, which left `develop` red on lint.

Reformat that one statement so `ruff format --check .` is clean again.
No logic change.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@igorls
igorls merged commit d7819d4 into MemPalace:develop Jul 10, 2026
8 checks passed
@Evgen197310
Evgen197310 deleted the fix/test-format-mcp-writer-self-heal branch August 1, 2026 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants