765fe64b6e96c365aaee4867c5a8381a883c5bc6,src/python/pants/core/goals/fmt.py,,fmt,#Any#Any#Any#Any#Any#,131

Before Change


        )
        if result.stdout:
            console.print_stderr(result.stdout)
        if result.stderr:
            console.print_stderr(result.stderr)
        if result != sorted_results[-1]:
            console.print_stderr("")

    // Since the rules to produce FmtResult should use ExecuteRequest, rather than

After Change


        formatter_to_results[result.formatter_name].add(result)

    for formatter, results in sorted(formatter_to_results.items()):
        if any(result.did_change for result in results):
            sigil = console.red("𐄂")
            status = "made changes"
        elif all(result.skipped for result in results):
            sigil = console.yellow("-")
            status = "skipped"
        else:
            sigil = console.green("✓")
            status = "made no changes"
        console.print_stderr(f"{sigil} {formatter} {status}.")

    // Since the rules to produce FmtResult should use ExecuteRequest, rather than
    // FallibleProcess, we assume that there were no failures.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: pantsbuild/pants
Commit Name: 765fe64b6e96c365aaee4867c5a8381a883c5bc6
Time: 2020-08-16
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/core/goals/fmt.py
Class Name:
Method Name: fmt


Project Name: pantsbuild/pants
Commit Name: 88072c9b78824a5f78cf62399246eecdc360a33c
Time: 2020-08-19
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/core/goals/typecheck.py
Class Name:
Method Name: typecheck


Project Name: pantsbuild/pants
Commit Name: cf2abb75c2204c2578061194dd578ff6c889eeea
Time: 2020-05-07
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/core/goals/test.py
Class Name:
Method Name: run_tests


Project Name: pantsbuild/pants
Commit Name: 765fe64b6e96c365aaee4867c5a8381a883c5bc6
Time: 2020-08-16
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/core/goals/fmt.py
Class Name:
Method Name: fmt