fix: resolve linting and formatting issues for CI

- Use contextlib.suppress instead of try/except/pass (SIM105)
- Prefix unused fixture arguments with underscore (ARG002)
- Replace asyncio.TimeoutError with TimeoutError (UP041)
- Apply ruff formatting to all files

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Patrick Selamy
2026-01-04 17:09:14 -05:00
co-authored by Claude Opus 4.5
parent a15086688a
commit 1f4f1fa557
31 changed files with 180 additions and 311 deletions
@@ -274,9 +274,7 @@ class FundingRepository:
"""
self.session = session
async def get_transfers_to(
self, address: str, limit: int = 100
) -> list[FundingTransferDTO]:
async def get_transfers_to(self, address: str, limit: int = 100) -> list[FundingTransferDTO]:
"""Get transfers to a wallet address.
Args:
@@ -294,9 +292,7 @@ class FundingRepository:
)
return [FundingTransferDTO.from_model(m) for m in result.scalars().all()]
async def get_transfers_from(
self, address: str, limit: int = 100
) -> list[FundingTransferDTO]:
async def get_transfers_from(self, address: str, limit: int = 100) -> list[FundingTransferDTO]:
"""Get transfers from a wallet address.
Args:
@@ -492,9 +488,7 @@ class RelationshipRepository:
await self.session.flush()
return dto
async def delete(
self, wallet_a: str, wallet_b: str, relationship_type: str
) -> bool:
async def delete(self, wallet_a: str, wallet_b: str, relationship_type: str) -> bool:
"""Delete a specific relationship.
Args: