Files
Vijay Janapa Reddi 92f9165d03 fix(book): harden LEGO formatting across volumes
Add native Binder checks for LEGO formatting/unit/prose contracts, extend mlsysim formatter helpers, and normalize Vol1/Vol2 LEGO output strings through typed formatters.

Validate precision-sensitive prose rendering across both volumes and promote direct math/string assembly to fmt_math, fmt_display_math, fmt_text, and domain-specific helpers.
2026-06-11 14:36:35 -04:00

21 lines
410 B
Python

#!/usr/bin/env python3
"""Compatibility wrapper for the Binder-native LEGO unit discipline linter."""
from __future__ import annotations
import sys
from pathlib import Path
ROOT = Path(__file__).resolve().parents[3]
sys.path.insert(0, str(ROOT))
from book.cli.checks.lego_units import ( # noqa: E402,F401
LintIssue,
lint_file,
main,
)
if __name__ == "__main__":
raise SystemExit(main())