From aef19737200b97c89bb167a24db07d3607aa34f2 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Sat, 8 Feb 2025 07:46:14 +0000 Subject: [PATCH] Auto-format code with Ruff using pyproject.toml --- handlers/profile.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/handlers/profile.py b/handlers/profile.py index 57c9cc0c..f2669492 100644 --- a/handlers/profile.py +++ b/handlers/profile.py @@ -196,10 +196,7 @@ async def invite_handler(callback_query: CallbackQuery): image_path = os.path.join("img", "pic_invite.jpg") builder = InlineKeyboardBuilder() - builder.button( - text="📢 Поделиться", - switch_inline_query=invite_text - ) + builder.button(text="📢 Поделиться", switch_inline_query=invite_text) builder.button(text="👤 Личный кабинет", callback_data="profile") builder.adjust(1) @@ -215,4 +212,4 @@ async def invite_handler(callback_query: CallbackQuery): await callback_query.message.answer( text=invite_message, reply_markup=builder.as_markup(), - ) \ No newline at end of file + )