INNER CODE UNIT · Python

chequeo_1_python

Hainrixz/whatsapp-agentkit · scripts/audit.py:273

def chequeo_1_python(raiz: Path) -> Resultado:
    r = Resultado(1, "Bloques Python de CLAUDE.md compilan")
    ruta = raiz / "CLAUDE.md"

    try:
        contenido = leer_texto(ruta)
    except FileNotFoundError:
        r.error("falta el archivo CLAUDE.md",
                "CLAUDE.md es el cerebro del repo-plantilla: sin el, "
                "'/build-agent' no tiene instrucciones que seguir.")
        return r
    except OSError as e:
        r.error(f"no se pudo leer CLAUDE.md: {e}")
        return r

    bloques = extraer_bloques(contenido, "python")
    if not bloques:
        r.advertir("no se encontro ningun bloque ```python en CLAUDE.md",

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…