style(tests): fix ruff format check left red by #1960 - #1965
Merged
igorls merged 1 commit intoJul 10, 2026
Conversation
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>
3 tasks
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.
Problem
#1960 was merged with a red
lintjob. The failing step wasruff 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-lineraise palace.MineAlreadyRunning(...)in the newtest_peer_writer_readonly_self_heals_after_peer_exitsonto a single line, since it fits the configured line length.Because the merge went in red,
developis now also red onlint.Fix
Run
ruff formaton that one statement. Verified with the exact CI command on the full tree:No logic change — pure formatting.
🤖 Generated with Claude Code