in python/scripts/postprocess_type_hints.py [0:0]
def stub_files_match(a: str, b: str) -> bool:
a = "".join(
[x for x in a.split("\n") if x.strip() and x.strip() not in LINES_TO_IGNORE_FOR_MATCH]
)
b = "".join(
[x for x in b.split("\n") if x.strip() and x.strip() not in LINES_TO_IGNORE_FOR_MATCH]
)
return a == b