mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-13 10:26:53 +00:00
chore: apply lint&reformat (#1307)
This commit is contained in:
parent
ac62184443
commit
490381b57f
3 changed files with 4 additions and 7 deletions
|
|
@ -56,10 +56,10 @@ __all__ = [
|
|||
]
|
||||
|
||||
import re
|
||||
from typing import Callable, Literal, Optional, TYPE_CHECKING, cast
|
||||
from typing import TYPE_CHECKING, Callable, Literal, Optional, cast
|
||||
|
||||
from aiogram.utils.link import create_telegram_link
|
||||
from aiogram.utils.payload import encode_payload, decode_payload
|
||||
from aiogram.utils.payload import decode_payload, encode_payload
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from aiogram import Bot
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ from os import getenv
|
|||
from typing import Any, Dict, Union
|
||||
|
||||
from aiohttp import web
|
||||
from finite_state_machine import form_router
|
||||
|
||||
from aiogram import Bot, Dispatcher, F, Router
|
||||
from aiogram.client.session.aiohttp import AiohttpSession
|
||||
|
|
@ -19,6 +18,7 @@ from aiogram.webhook.aiohttp_server import (
|
|||
TokenBasedRequestHandler,
|
||||
setup_application,
|
||||
)
|
||||
from finite_state_machine import form_router
|
||||
|
||||
main_router = Router()
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,6 @@
|
|||
import pytest
|
||||
|
||||
from aiogram.utils.deep_linking import (
|
||||
create_start_link,
|
||||
create_startgroup_link,
|
||||
)
|
||||
from aiogram.utils.deep_linking import create_start_link, create_startgroup_link
|
||||
from aiogram.utils.payload import decode_payload, encode_payload
|
||||
from tests.mocked_bot import MockedBot
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue