fix(beads-mcp): resolve all mypy type checking errors
- Add mypy override in pyproject.toml to relax strict typing for test files - Update test fixtures to use _connection_pool instead of deprecated _client - Fix datetime type mismatches in test fixtures (use datetime objects, not strings) - Add type annotations to inner functions in test_multi_project_switching.py - Fix union type handling in test assertions with isinstance checks Reduces mypy errors from 216 to 0. All 168 tests still pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -119,14 +119,14 @@ async def test_list_issues(bd_client):
|
||||
await bd_client.create(params)
|
||||
|
||||
# List all issues
|
||||
params = ListIssuesParams()
|
||||
issues = await bd_client.list_issues(params)
|
||||
list_params = ListIssuesParams()
|
||||
issues = await bd_client.list_issues(list_params)
|
||||
|
||||
assert len(issues) >= 3
|
||||
|
||||
# List with status filter
|
||||
params = ListIssuesParams(status="open")
|
||||
issues = await bd_client.list_issues(params)
|
||||
list_params_filtered = ListIssuesParams(status="open")
|
||||
issues = await bd_client.list_issues(list_params_filtered)
|
||||
|
||||
assert all(issue.status == "open" for issue in issues)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user