Skip to content

Commit 60c3d0e

Browse files
committed
Move reminder scheduling import to the top of the function for better readability
1 parent 2e1ab61 commit 60c3d0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

handlers/planner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ async def handle_visualize_plan(callback: types.CallbackQuery, state: FSMContext
104104

105105
@router.callback_query(PlanFormat.waiting_for_next_action, F.data == "schedule_reminders")
106106
async def handle_reminders(callback: types.CallbackQuery, state: FSMContext):
107-
from services.reminders import schedule_reminders
107+
from services.reminders import schedule_reminders # pylint: disable=import-outside-toplevel
108108

109109
await callback.answer()
110110
user_id = callback.from_user.id

0 commit comments

Comments
 (0)