MCPcopy Index your code
hub / github.com/python/mypy / normalize_report_meta

Function normalize_report_meta

mypy/test/helpers.py:524–528  ·  view source on GitHub ↗
(content: list[str])

Source from the content-addressed store, hash-verified

522
523
524def 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
531def find_test_files(pattern: str, exclude: list[str] | None = None) -> list[str]:

Callers 1

check_test_output_filesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…