INNER CODE UNIT · Python

run_checks

zhinkgit/embeddedskills · .github/maintenance/repo_checks.py:174

def run_checks(root: Path) -> list[str]:
    errors: list[str] = []
    checks = [
        check_skill_metadata,
        check_python_syntax,
        check_json,
        check_markdown_links,
        check_i18n_entrypoints,
    ]
    for check in checks:
        current = check(root)
        print(f"{check.__name__}: {'PASS' if not current else 'FAIL'}")
        errors.extend(current)
    return errors


def main() -> int:
    parser = argparse.ArgumentParser(description="Validate the embeddedskills repository")

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…