style: fix code formatting and linting issues
- Remove unused imports in stats_client.py and download_stats.py - Fix import sorting in test files - Remove unnecessary f-strings in server.py and demo script - Clean up whitespace and formatting issues - Ensure all files pass ruff and isort checks Signed-off-by: longhao <hal.long@outlook.com>
This commit is contained in:
parent
99c603ed37
commit
3d9d7b4208
5 changed files with 66 additions and 68 deletions
|
|
@ -541,7 +541,7 @@ async def get_top_downloaded_packages(
|
|||
|
||||
logger.info(f"MCP tool: Getting top {actual_limit} packages for period: {period}")
|
||||
result = await get_top_packages_by_downloads(period, actual_limit)
|
||||
logger.info(f"Successfully retrieved top packages list")
|
||||
logger.info("Successfully retrieved top packages list")
|
||||
return result
|
||||
except Exception as e:
|
||||
logger.error(f"Error getting top packages: {e}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue