Skip to content

Commit e7e6eed

Browse files
committed
feat: remove legacy plugin deps checking
1 parent b6ff2be commit e7e6eed

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

main.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
async def main_entry(loop: asyncio.AbstractEventLoop):
2020
parser = argparse.ArgumentParser(description='LangBot')
21-
parser.add_argument('--skip-plugin-deps-check', action='store_true', help='跳过插件依赖项检查', default=False)
2221
parser.add_argument('--standalone-runtime', action='store_true', help='使用独立插件运行时', default=False)
2322
args = parser.parse_args()
2423

@@ -49,10 +48,6 @@ async def main_entry(loop: asyncio.AbstractEventLoop):
4948
print('The missing dependencies have been installed automatically, please restart the program.')
5049
sys.exit(0)
5150

52-
# check plugin deps
53-
if not args.skip_plugin_deps_check:
54-
await deps.precheck_plugin_deps()
55-
5651
# # 检查pydantic版本,如果没有 pydantic.v1,则把 pydantic 映射为 v1
5752
# import pydantic.version
5853

0 commit comments

Comments
 (0)