插件系统代码风格修复

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

@@ -70,7 +70,7 @@ class ManifestValidator:
RECOMMENDED_FIELDS = ["license", "keywords", "categories"]
SUPPORTED_MANIFEST_VERSIONS = [1, 2]
def __init__(self, host_version: str = ""):
def __init__(self, host_version: str = "") -> None:
self._host_version = host_version
self.errors: List[str] = []
self.warnings: List[str] = []