🏷️ add type hint for logger

This commit is contained in:
yanyongyu 2021-05-21 15:15:04 +08:00
parent 100f560558
commit 61512ff01f

View File

@ -14,10 +14,10 @@ import sys
import logging import logging
from typing import Union from typing import Union
from loguru import logger as logger_ import loguru
# logger = logging.getLogger("nonebot") # logger = logging.getLogger("nonebot")
logger = logger_ logger: "loguru.Logger" = loguru.logger
""" """
:说明: :说明: