Commit 3a9cf0d0 authored by Chris Lamb's avatar Chris Lamb 💬

Add a note to the "Files similar despite different names" comment to clarify...

Add a note to the "Files similar despite different names" comment to clarify that a lower score is more similar.
parent 9f30b4b2
Pipeline #31120 failed with stage
in 14 minutes and 15 seconds
......@@ -157,7 +157,7 @@ class Container(object, metaclass=abc.ABCMeta):
for my_name, other_name, score in self.perform_fuzzy_matching(my_members, other_members):
comment = "Files similar despite different names" \
" (difference score: {})".format(score)
" (score: {}, lower is more similar)".format(score)
if score == 0:
comment = "Files identical despite different names"
yield prep_yield(my_name, other_name, comment)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment