mirror of
https://github.com/Nezumi-2711/astrbot_plugin_qq_group_daily_analysis.git
synced 2026-09-22 13:38:43 +00:00
fix(pre-commit): code quality
This commit is contained in:
@@ -17,7 +17,7 @@ sys.path.insert(0, project_root)
|
||||
print(f"Project Root: {project_root}")
|
||||
|
||||
# Mock logger before importing anything that uses it
|
||||
from astrbot.api import logger
|
||||
from astrbot.api import logger # noqa: E402
|
||||
|
||||
logger.info = lambda msg, *args, **kwargs: print(f"[INFO] {msg}")
|
||||
logger.error = lambda msg, *args, **kwargs: print(f"[ERROR] {msg}")
|
||||
|
||||
Reference in New Issue
Block a user