插件系统代码风格修复

This commit is contained in:
DrSmoothl
2026-03-13 11:07:19 +08:00
parent bcb7963d37
commit 8ac0aff479
15 changed files with 55 additions and 47 deletions

View File

@@ -31,7 +31,7 @@ class CapabilityService:
4. 执行实际操作并返回结果
"""
def __init__(self, policy_engine: PolicyEngine):
def __init__(self, policy_engine: PolicyEngine) -> None:
self._policy = policy_engine
# capability_name -> implementation
self._implementations: Dict[str, CapabilityImpl] = {}