(path: str)
| 231 | predicates = [to_predicate(p) for p in patterns] |
| 232 | |
| 233 | def is_ignored(path: str) -> bool: |
| 234 | for fn in predicates: |
| 235 | try: |
| 236 | if fn(path): |
| 237 | return True |
| 238 | except Exception: |
| 239 | # Be conservative: ignore errors and treat as not matching |
| 240 | continue |
| 241 | return False |
| 242 | |
| 243 | return is_ignored |
no outgoing calls
no test coverage detected