Skip to content

Commit

Permalink
Simplify tuple destructuring in output routine
Browse files Browse the repository at this point in the history
  • Loading branch information
benjwadams committed Dec 6, 2024
1 parent beef6fb commit 91aea06
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions compliance_checker/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,22 +148,12 @@ def stdout_output(cls, cs, score_dict, verbose, limit):
"""

for ds, score_groups in score_dict.items():
for checker, rpair in score_groups.items():
groups, errors = rpair
for checker, (groups, errors) in score_groups.items():
score_list, points, out_of = cs.standard_output(
ds,
limit,
checker,
groups,
)
ds, limit, checker, groups)
# send list of grouped result objects to stdout & reasoning_routine
cs.standard_output_generation(
groups,
limit,
points,
out_of,
check=checker,
)
groups, limit, points, out_of, check=checker)
return groups

@classmethod
Expand Down

0 comments on commit 91aea06

Please sign in to comment.