Skip to content

Commit ba4c79e

Browse files
authored
feat: use repr() to explain the meaning of char. (#55)
1 parent c7b57af commit ba4c79e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dingo/model/rule/rule_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ def eval(cls, input_data: MetaData) -> ModelRes:
650650
res.error_status = True
651651
res.type = cls.metric_type
652652
res.name = cls.__name__
653-
res.reason = list(set(matches))
653+
res.reason = [repr(s) for s in list(set(matches))]
654654
return res
655655

656656

0 commit comments

Comments
 (0)