Skip to content

Commit

Permalink
Merge pull request #967 from googlefonts/ttx-quick-ratio
Browse files Browse the repository at this point in the history
[ttx_diff] Go back to using 'quick_ratio'
  • Loading branch information
cmyr authored Sep 17, 2024
2 parents 218f877 + d9f39b7 commit c12c84a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/scripts/ttx_diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ def diff_ratio(text1: str, text2: str) -> float:
lines1 = text1.splitlines()
lines2 = text2.splitlines()
m = SequenceMatcher(None, lines1, lines2)
return m.ratio()
return m.quick_ratio()


def path_for_output_item(tag_or_normalizer_name: str, compiler: str) -> str:
Expand Down

0 comments on commit c12c84a

Please sign in to comment.