(text: str, patterns: list[str])
| 1286 | |
| 1287 | |
| 1288 | def matches_any_pattern(text: str, patterns: list[str]) -> bool: |
| 1289 | normalized = normalize_lint_whitespace(text) |
| 1290 | return any(re.search(pattern, normalized, flags=re.IGNORECASE) for pattern in patterns) |
| 1291 | |
| 1292 | |
| 1293 | def is_placeholder_like(text: str) -> bool: |
no test coverage detected