Address CodeRabbit suggestions

- Add return type annotation to main() in run_with_tracing.py
- Use spread operator for argv construction
- Add type annotations to docs test example
- Use async httpx client and asyncio.sleep in diagnostics server
- Improve subprocess termination handling with timeout fallback

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Chris Guidry 2026-01-14 09:48:07 -05:00
commit 33f952fc48
4 changed files with 22 additions and 14 deletions

View file

@ -288,7 +288,7 @@ max_lines = 1019
[[rules]]
path = "src/fastmcp/server/server.py"
max_lines = 3500
max_lines = 3000
[[rules]]
path = "tests/deprecated/test_import_server.py"