INNER CODE UNIT · Python

main

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

def main() -> int:
    parser = argparse.ArgumentParser(description="Validate the embeddedskills repository")
    parser.add_argument("--root", type=Path, default=repository_root())
    args = parser.parse_args()

    root = args.root.resolve()
    errors = run_checks(root)
    if errors:
        print("\nValidation failed:", file=sys.stderr)
        for error in errors:
            print(f"- {error}", file=sys.stderr)
        return 1
    print("\nAll repository checks passed.")
    return 0


if __name__ == "__main__":
    raise SystemExit(main())

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…