Develop: 完全使用 ruff 替代 isort 与 black (#1757)

* 🚨 完全使用 ruff 替代 isort 与 black

* 🚨 ruff lint&format
This commit is contained in:
BalconyJH
2024-12-10 19:49:11 +08:00
committed by GitHub
parent 28dd15a950
commit bc5a9c4fcc
147 changed files with 823 additions and 863 deletions
@@ -1,14 +1,13 @@
from pathlib import Path
import shutil
import zipfile
from pathlib import Path
from nonebot.utils import run_sync
from builtin_plugins.web_ui.config import PUBLIC_PATH, TMP_PATH, WEBUI_DIST_GITHUB_URL
from zhenxun.services.log import logger
from zhenxun.utils.http_utils import AsyncHttpx
from zhenxun.utils.github_utils import GithubUtils
from ..config import TMP_PATH, PUBLIC_PATH, WEBUI_DIST_GITHUB_URL
from zhenxun.utils.http_utils import AsyncHttpx
COMMAND_NAME = "WebUI资源管理"