🏷️ add pre-commit flow

This commit is contained in:
yanyongyu
2022-01-15 21:27:43 +08:00
parent cc343c981f
commit 93aec6d3f6
26 changed files with 226 additions and 77 deletions

View File

@ -2,7 +2,6 @@ import abc
from contextlib import asynccontextmanager
from typing import Any, Dict, AsyncGenerator
from ._bot import Bot
from nonebot.config import Config
from nonebot.drivers import (
Driver,
@ -15,6 +14,8 @@ from nonebot.drivers import (
WebSocketServerSetup,
)
from ._bot import Bot
class Adapter(abc.ABC):
def __init__(self, driver: Driver, **kwargs: Any):