Skip to content

fix: resolve ruff lint errors from #18#19

Merged
vtz merged 1 commit intomainfrom
hotfix/lint-fixes
Apr 22, 2026
Merged

fix: resolve ruff lint errors from #18#19
vtz merged 1 commit intomainfrom
hotfix/lint-fixes

Conversation

@vtz
Copy link
Copy Markdown
Owner

@vtz vtz commented Apr 22, 2026

Summary

Fixes the "Lint & Format" CI failure introduced by #18:

  • Remove unused MessageType import from test_client.py (F401)
  • Remove unused asyncio import from test_rpc.py (F401)
  • Combine nested with statements into single with using parenthesized context managers in test_client.py (SIM117, 4 instances)

Test plan

  • ruff check src/ tests/ — all checks passed
  • pytest tests/ — 300 passed

Made with Cursor

@vtz vtz force-pushed the hotfix/lint-fixes branch from 86ce2bc to 8881119 Compare April 22, 2026 17:01
Remove unused `MessageType` import from test_client.py and unused
`asyncio` import from test_rpc.py. Combine nested `with` statements
per SIM117. Apply ruff format to rpc.py and transport.py.
@vtz vtz force-pushed the hotfix/lint-fixes branch from 8881119 to bcb493b Compare April 22, 2026 17:29
@vtz vtz merged commit a3f1463 into main Apr 22, 2026
18 checks passed
@vtz vtz deleted the hotfix/lint-fixes branch April 22, 2026 19:10
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.

1 participant