(diff_text: str)
| 140 | |
| 141 | |
| 142 | def added_text(diff_text: str) -> str: |
| 143 | return "\n".join(match.group("text") for match in _ADDED_LINE.finditer(diff_text)) |
| 144 | |
| 145 | |
| 146 | def introduced(violations: Sequence[Violation], added: str) -> tuple[Violation, ...]: |