插件系统代码风格修复

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

@@ -22,7 +22,7 @@ class PolicyEngine:
管理所有插件的能力令牌,提供授权校验。
"""
def __init__(self):
def __init__(self) -> None:
self._tokens: Dict[str, CapabilityToken] = {}
def register_plugin(