🚨 删除不需要的 noqa

This commit is contained in:
2024-05-02 20:52:00 +08:00
parent 7a3d7c908c
commit 38defe37cd

View File

@@ -45,7 +45,7 @@ class BrowserManager:
logger.error('安装/更新 playwright 浏览器失败')
try:
await cls._start_browser()
except BaseException as e: # noqa: BLE001 不知道会有什么异常, 交给用户解决
except BaseException as e: # 不知道会有什么异常, 交给用户解决
raise ImportError(
'playwright 启动失败, 请尝试在命令行运行 playwright install-deps firefox, 如果仍然启动失败, 请参考上面的报错👆'
) from e