diff --git a/seo_audit.py b/seo_audit.py index 7cc13e5..707d4b2 100755 --- a/seo_audit.py +++ b/seo_audit.py @@ -204,10 +204,13 @@ def main(): print("ACCEPTED EXCEPTIONS (won't fix — documented decisions, NOT in the count)\n") for p, actionable, accepted, info, sc in sorted(results, key=lambda t: t[0]["slug"]): for v in accepted: - reason = X.accepted_reason(v.rule, p["slug"]) + # ⚠️ CON el sitio: sin él busca en el diccionario del EN y + # devuelve None para los 18 waivers del ES, dejando el informe + # mudo justo donde tiene que justificarse. + reason = X.accepted_reason(v.rule, p["slug"], args.site) print(f"• {p['slug']}") print(f" [{R.SEV_NAME[v.severity]:4}] {v.message}") - print(f" waived: {reason}") + print(f" waived: {reason or '⚠ SIN MOTIVO DOCUMENTADO — esto es un fallo'}") print() # ---- ranked guidance ----