(text: str)
| 124 | |
| 125 | |
| 126 | def _parse_ignore_lines(text: str) -> list[str]: |
| 127 | lines: list[str] = [] |
| 128 | if not text: |
| 129 | return lines |
| 130 | for raw in text.splitlines(): |
| 131 | s = raw.strip() |
| 132 | if not s or s.startswith("#"): |
| 133 | continue |
| 134 | lines.append(s) |
| 135 | return lines |
| 136 | |
| 137 | |
| 138 | def make_ignore_predicate(project: dict[str, str]) -> "callable[[str], bool]": |
no outgoing calls
no test coverage detected