Skip to content

Commit

Permalink
fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yukirora committed Aug 13, 2024
1 parent 6c58b1a commit 4390bc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superbench/analyzer/diagnosis_rule_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def failure_check(data_row, rule, summary_data_row, details, categories, raw_rul
violated_metric_num += 1
# return code != 0, failed test
violated_metric_num += RuleOp.value(data_row, rule, summary_data_row, details, categories)
details[:] = list(dict.fromkeys(details)) # remove duplicate details
details[:] = list(dict.fromkeys(details)) # remove duplicate details
return violated_metric_num


Expand Down

0 comments on commit 4390bc2

Please sign in to comment.