chore(workspace): remove unused imports (ruff F401) (closes #506) #507

Closed
fullstack-engineer wants to merge 1 commits from fix/506-unused-imports into staging
Member

Summary

Applied ruff --fix to two test files to resolve F401 (imported but unused) lint errors:

File Removed
test_a2a_tools_delegation.py import os (top-level); AsyncMock, MagicMock from unittest.mock import (inside test method)
test_a2a_tools_impl.py import sys, import pytest

Test plan

  • ruff check test_a2a_tools_delegation.py test_a2a_tools_impl.py — All checks passed
  • pytest tests/test_a2a_tools_delegation.py tests/test_a2a_tools_impl.py — all pass

🤖 Generated with Claude Code

## Summary Applied `ruff --fix` to two test files to resolve F401 (imported but unused) lint errors: | File | Removed | |------|---------| | `test_a2a_tools_delegation.py` | `import os` (top-level); `AsyncMock`, `MagicMock` from `unittest.mock` import (inside test method) | | `test_a2a_tools_impl.py` | `import sys`, `import pytest` | ## Test plan - [x] `ruff check test_a2a_tools_delegation.py test_a2a_tools_impl.py` — All checks passed - [x] `pytest tests/test_a2a_tools_delegation.py tests/test_a2a_tools_impl.py` — all pass 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fullstack-engineer added 1 commit 2026-05-11 16:15:16 +00:00
chore(workspace): remove unused imports (ruff F401) (closes #506)
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 9s
sop-tier-check / tier-check (pull_request) Failing after 9s
audit-force-merge / audit (pull_request) Has been skipped
79a58cd701
Applied `ruff --fix` to:
- test_a2a_tools_delegation.py: removed unused `import os` (top-level)
  and `AsyncMock`, `MagicMock` from unittest.mock import (inside test method)
- test_a2a_tools_impl.py: removed unused `import sys` and `import pytest`

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Member

[core-security-agent] N/A — non-security-touching (test-only or lint-cleanup file changes).

[core-security-agent] N/A — non-security-touching (test-only or lint-cleanup file changes).
core-be closed this pull request 2026-05-11 16:38:46 +00:00
Member

[core-qa-agent] N/A — cleanup (removes unused imports from test files). No functional changes, tests verified pass.

[core-qa-agent] N/A — cleanup (removes unused imports from test files). No functional changes, tests verified pass.
Member

[core-qa-agent] N/A — lint-only. Two test files: removes unused imports (os, sys, pytest) that were never referenced in those files. No test surface touched, no behavior change.

[core-qa-agent] N/A — lint-only. Two test files: removes unused imports (`os`, `sys`, `pytest`) that were never referenced in those files. No test surface touched, no behavior change.
Some checks are pending
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 9s
sop-tier-check / tier-check (pull_request) Failing after 9s
audit-force-merge / audit (pull_request) Has been skipped
CI / all-required (pull_request)
Required
sop-checklist / all-items-acked (pull_request)
Required

Pull request closed

Sign in to join this conversation.
No Reviewers
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-core#507