From 2b67b0f12ec9c60223dc7d725269216a2d12e439 Mon Sep 17 00:00:00 2001 From: yanyongyu Date: Sun, 7 Feb 2021 23:36:04 +0800 Subject: [PATCH] :mute: remove unused type hint --- nonebot/message.py | 2 +- nonebot/plugin.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nonebot/message.py b/nonebot/message.py index fb860a96..cc226875 100644 --- a/nonebot/message.py +++ b/nonebot/message.py @@ -7,7 +7,7 @@ NoneBot 内部处理并按优先级分发事件给所有事件响应器,提供 import asyncio from datetime import datetime -from typing import Set, Type, Optional, Iterable, TYPE_CHECKING +from typing import Set, Type, TYPE_CHECKING from nonebot.log import logger from nonebot.rule import TrieRule diff --git a/nonebot/plugin.py b/nonebot/plugin.py index d9bb3913..e66672cd 100644 --- a/nonebot/plugin.py +++ b/nonebot/plugin.py @@ -13,7 +13,7 @@ from types import ModuleType from dataclasses import dataclass from importlib._bootstrap import _load from contextvars import Context, ContextVar, copy_context -from typing import Any, Set, List, Dict, Type, Tuple, Union, Optional, Iterable, TYPE_CHECKING +from typing import Any, Set, List, Dict, Type, Tuple, Union, Optional, TYPE_CHECKING from nonebot.log import logger from nonebot.matcher import Matcher