From dc05595b9b8c109f71e0ff725e2e311c4748cdc9 Mon Sep 17 00:00:00 2001 From: 3252a8 <3252a8@proton.me> Date: Sun, 17 May 2026 10:09:41 +0300 Subject: [PATCH] chore: attach orphaned type:ignore comment to its statement --- backend/bot/app/web/webapp/application.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/bot/app/web/webapp/application.py b/backend/bot/app/web/webapp/application.py index 150f865..df988af 100644 --- a/backend/bot/app/web/webapp/application.py +++ b/backend/bot/app/web/webapp/application.py @@ -52,8 +52,7 @@ def create_subscription_webapp_application( if hasattr(dp, "workflow_data") and key in dp.workflow_data: # type: ignore[attr-defined] app[key] = dp.workflow_data[key] # type: ignore[index] - # type: ignore[attr-defined] - if hasattr(dp, "workflow_data") and "bot_username" in dp.workflow_data: + if hasattr(dp, "workflow_data") and "bot_username" in dp.workflow_data: # type: ignore[attr-defined] app["bot_username"] = dp.workflow_data["bot_username"] # type: ignore[index] setup_subscription_webapp_routes(app)