Pylance cleanup

This commit is contained in:
Cal Corum 2025-11-06 21:55:20 -06:00
parent 3583cbb92c
commit 244558175a

View File

@ -730,7 +730,7 @@ class AdminCommands(commands.Cog):
f"❌ Failed: {failure_count}", f"❌ Failed: {failure_count}",
inline=False inline=False
) )
await status_message.edit(embed=processing_embed) await status_message.edit(embed=processing_embed) # type: ignore
# Rate limiting: 100ms delay between requests # Rate limiting: 100ms delay between requests
await asyncio.sleep(0.1) await asyncio.sleep(0.1)
@ -749,7 +749,7 @@ class AdminCommands(commands.Cog):
f"Failed to execute transaction for {error_info['player']}", f"Failed to execute transaction for {error_info['player']}",
player_id=error_info['player_id'], player_id=error_info['player_id'],
new_team=error_info['new_team'], new_team=error_info['new_team'],
error=str(e) error=e
) )
# Create completion embed # Create completion embed
@ -807,7 +807,7 @@ class AdminCommands(commands.Cog):
) )
# Update the status message with final results # Update the status message with final results
await status_message.edit(embed=completion_embed) await status_message.edit(embed=completion_embed) # type: ignore
self.logger.info( self.logger.info(
f"Transaction processing complete for week {target_week}", f"Transaction processing complete for week {target_week}",
@ -884,7 +884,7 @@ class AdminCommands(commands.Cog):
player_id=player_id, player_id=player_id,
player_name=player_name, player_name=player_name,
new_team_id=new_team_id, new_team_id=new_team_id,
error=str(e), error=e,
exc_info=True exc_info=True
) )
raise raise