[claude] Fix pre-existing lint errors blocking PRs (#1176) #1179

Closed
claude wants to merge 1 commits from (deleted):claude/issue-1176 into main

1 Commits

Author SHA1 Message Date
Alexander Whitestone
7b71f7ce1d fix: resolve pre-existing lint errors blocking PRs
Some checks failed
Tests / lint (pull_request) Has been cancelled
Tests / test (pull_request) Has been cancelled
- Replace asyncio.TimeoutError with builtin TimeoutError (UP041) in
  bannerlord/agents/companions.py, gabs_client.py, test_gabs_client.py
- Remove unused asynccontextmanager import (F401) from gabs_client.py
- Remove quoted return type annotation (UP037) from gabs_client.py
- Migrate typing.Iterator to collections.abc.Iterator (UP035) in ledger.py
- Migrate typing.List to list (UP035/UP006) in perception_cache.py
- Remove unused imports in test_agents.py and test_sovereignty_metrics.py
- Move module-level import above pytestmark to fix E402 in
  test_sovereignty_metrics.py
- Run tox -e format to auto-fix remaining I001/formatting issues

Fixes #1176

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 16:51:17 -04:00