ruff,私聊视为提及了bot

This commit is contained in:
Windpicker-owo
2025-09-20 22:34:22 +08:00
parent 006f9130b9
commit 444f1ca315
76 changed files with 1066 additions and 882 deletions

View File

@@ -290,4 +290,4 @@ def has_active_plans(month: str) -> bool:
return count > 0
except Exception as e:
logger.error(f"检查 {month} 的有效月度计划时发生错误: {e}")
return False
return False

View File

@@ -221,4 +221,4 @@ class MonthlyPlanLLMGenerator:
return plans
except Exception as e:
logger.error(f"解析月度计划响应时发生错误: {e}")
return []
return []

View File

@@ -102,4 +102,4 @@ class PlanManager:
def get_plans_for_schedule(self, month: str, max_count: int) -> List:
avoid_days = global_config.planning_system.avoid_repetition_days
return get_smart_plans_for_daily_schedule(month, max_count=max_count, avoid_days=avoid_days)
return get_smart_plans_for_daily_schedule(month, max_count=max_count, avoid_days=avoid_days)

View File

@@ -96,4 +96,4 @@ class ScheduleData(BaseModel):
covered[i] = True
# 检查是否所有分钟都被覆盖
return all(covered)
return all(covered)