(content: list[str])
| 522 | |
| 523 | |
| 524 | def normalize_report_meta(content: list[str]) -> list[str]: |
| 525 | # libxml 2.15 and newer emits the "modern" version of this <meta> element. |
| 526 | # Normalize the old style to look the same. |
| 527 | html_meta = '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">' |
| 528 | return ['<meta charset="UTF-8">' if x == html_meta else x for x in content] |
| 529 | |
| 530 | |
| 531 | def find_test_files(pattern: str, exclude: list[str] | None = None) -> list[str]: |
no outgoing calls
no test coverage detected
searching dependent graphs…