You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Summary
- add a dedicated Ruff config for low-noise test import hygiene checks
- run that check in the existing linter workflow
- clean up the current test import-order and unused-import findings it
surfaces
## Why
The repository currently formats files under `tests/`, but skips linting
them entirely in CI. This leaves basic, deterministic issues like unused
imports, redefinitions, and import ordering unreported.
This change keeps the main Ruff configuration unchanged and adds a
narrow test-only check for `F401`, `F811`, and `I001`.
Includes a small follow-up adjustment to one existing legacy streaming
scenario test after CI exposed a flaky Python 3.14 path.
## Validation
- `uv run ruff check --output-format=github`
- `uv run ruff check tests --config ruff-tests.toml
--output-format=github`
- `uv run ruff format --check`
- `uv run pytest -q tests/client/test_base_client.py
tests/server/events/test_event_consumer.py
tests/server/request_handlers/test_default_request_handler.py
tests/server/routes/test_jsonrpc_dispatcher.py`
---------
Co-authored-by: Ivan Shymko <ishymko@google.com>
0 commit comments