|
All checks were successful
CI / test (push) Successful in 3m16s
- 将延迟导入移至模块顶部,消除 Shotgun Surgery 气味 - lifecycle.py: 移除 41 行重复导入 - scheduler.py: 移除 14 行重复导入 - 修复测试:更新 monkeypatch 以补丁 scheduler 模块的引用而非原始模块 - 符合代码规范:避免函数内重复导入 Closes code-review finding: repeated deferred imports (Shotgun Surgery) |
||
|---|---|---|
| .. | ||
| integration | ||
| unit | ||
| __init__.py | ||
| conftest.py | ||