merged_formatted_digest = await Get(Digest, MergeDigests(changed_digests))
workspace.write_digest(merged_formatted_digest)
sorted_results = sorted(individual_results, key=lambda res: res.formatter_name)
for result in sorted_results:
console.print_stderr(
f"{console.green("✓")} {result.formatter_name} made no changes."
if not result.did_change
After Change
// We group all results for the same formatter so that we can give one final status in the
// summary. This is only relevant if there were multiple results because of
// `--per-target-caching`.
formatter_to_results = defaultdict(set)
for result in individual_results:
formatter_to_results[result.formatter_name].add(result)
for formatter, results in sorted(formatter_to_results.items()):