705a3dcb90454c2d6ab2a857ac0b88dff2ef0bab,src/python/pants/core/goals/lint.py,,lint,#Any#Any#Any#Any#Any#,134

Before Change


    if linter_to_reports:
        // TODO(/�): Tolerate when a linter has multiple reports.
        linters_with_multiple_reports = [
            linter for linter, reports in linter_to_reports.items() if len(reports) > 1
        ]
        if linters_with_multiple_reports:
            if lint_subsystem.per_target_caching:

After Change


                ),
                linter_name=linter_name,
            )
            for linter_name, all_linter_results in itertools.groupby(
                all_per_target_results, key=lambda results: results.linter_name
            )
        )
    else:
        all_results = await MultiGet(
            Get(LintResults, LintRequest, lint_request) for lint_request in valid_requests
        )

    all_results = tuple(sorted(all_results, key=lambda results: results.linter_name))

    reports = list(itertools.chain.from_iterable(results.reports for results in all_results))
    if reports:
        // TODO(/�): Tolerate when a linter has multiple reports.
        linters_with_multiple_reports = [
            results.linter_name for results in all_results if len(results.reports) > 1
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


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


Project Name: pantsbuild/pants
Commit Name: d38fcf32725c5e26a40d603f1fd2c0fe07847035
Time: 2019-12-09
Author: john.sirois@gmail.com
File Name: src/python/pants/engine/isolated_process.py
Class Name: ExecuteProcessRequest
Method Name: __init__


Project Name: chainer/chainercv
Commit Name: 3caec05bcee9e9952df3db6ee131773e59b0ce30
Time: 2017-06-15
Author: yuyuniitani@gmail.com
File Name: chainercv/links/model/vgg/vgg16.py
Class Name: VGG16Layers
Method Name: predict