INNER CODE UNIT · Python
fail
Sahir619/fable-method · .github/checks.py:12
def fail(msg):
failures.append(msg)
print(f"FAIL {msg}")
def ok(msg):
print(f"ok {msg}")
# 1. Plugin and marketplace manifests parse and carry required fields
for rel, required in [
(".claude-plugin/plugin.json", ["name", "description", "version"]),
(".claude-plugin/marketplace.json", ["name", "owner", "plugins"]),
]:
path = os.path.join(ROOT, rel)
try:
with io.open(path, encoding="utf-8") as f:
data = json.load(f)