清理无用代码、合并工具链、修复注释与日志问题

- 删除破损文件: main.py/main.ui/main_ui.py
- 删除 runtime_hook.py(归宿主维护),清除 tools/ 目录
- 合并 export_runtime/pack_zip/verify_companions 到 build_pyd.py
- 修复注释: docstring 参数与实际签名不一致、过时引用、拼写错误
- 修复日志: 消除静默吞异常、删冗余 log+raise、补缺失日志
- 精简 .gitignore
This commit is contained in:
2026-07-21 18:14:34 +08:00
parent 91bb61444e
commit f188055228
20 changed files with 305 additions and 936 deletions
+2
View File
@@ -106,6 +106,7 @@ class MILProject(QFrame, Ui_FrameMILProject):
else:
path,type = QFileDialog.getOpenFileName(self, "选择文件", "./","Excel工作簿(*.xlsx)")
if not os.path.exists(path):
logger.debug(f"数据文件选择已取消: {dataPath}")
return
self.lineEditDataPath.setText(path)
self.on_datapath_editing_finished_event()
@@ -117,6 +118,7 @@ class MILProject(QFrame, Ui_FrameMILProject):
else:
path,type = QFileDialog.getOpenFileName(self, "选择文件", "./","Excel工作簿(*.xlsx)")
if not os.path.exists(path):
logger.debug(f"测试用例文件选择已取消: {filePath}")
return
self.lineEditFilePath.setText(path)
self.on_filepath_editing_finished_event()