INNER CODE UNIT · Python

chequeo_4_env

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

def chequeo_4_env(raiz: Path) -> Resultado:
    r = Resultado(4, "Variables de entorno completas en .env.example")
    ruta_md = raiz / "CLAUDE.md"
    ruta_env = raiz / ".env.example"

    try:
        contenido_md = leer_texto(ruta_md)
    except FileNotFoundError:
        r.error("falta el archivo CLAUDE.md",
                "Sin CLAUDE.md no se puede saber que variables usa el agente.")
        return r
    except OSError as e:
        r.error(f"no se pudo leer CLAUDE.md: {e}")
        return r

    try:
        contenido_env = leer_texto(ruta_env)
    except FileNotFoundError:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…