(key: str, text: Any)
| 285 | evidence: Dict[str, List[str]] = {} |
| 286 | |
| 287 | def add(key: str, text: Any) -> None: |
| 288 | value = str(text).strip() |
| 289 | if not value or value == "-": |
| 290 | return |
| 291 | bucket = evidence.setdefault(key, []) |
| 292 | if value not in bucket: |
| 293 | bucket.append(value) |
| 294 | |
| 295 | sec_txt = security.get("security_txt") or {} |
| 296 | add("security_txt", f"url={sec_txt.get('url') or '-'}") |
no outgoing calls
no test coverage detected