🎨 format code using black and isort

This commit is contained in:
yanyongyu
2021-11-22 23:21:26 +08:00
parent 602185a34e
commit a98d98cd12
86 changed files with 2893 additions and 2095 deletions

View File

@ -157,6 +157,7 @@ class NoLogException(AdapterException):
指示 NoneBot 对当前 ``Event`` 进行处理但不显示 Log 信息,可在 ``get_log_string`` 时抛出
"""
pass
@ -166,6 +167,7 @@ class ApiNotAvailable(AdapterException):
在 API 连接不可用时抛出。
"""
pass
@ -175,6 +177,7 @@ class NetworkError(AdapterException):
在网络出现问题时抛出,如: API 请求地址不正确, API 请求无返回或返回状态非正常等。
"""
pass
@ -184,4 +187,5 @@ class ActionFailed(AdapterException):
API 请求成功返回数据,但 API 操作失败。
"""
pass