c2313daa955f50184c31fba3164db7ec02bde465,src/python/pants/backend/python/lint/python_formatter.py,,rules,#,82

Before Change




def rules():
    return [
        format_python_target,
        target_adaptor,
        app_adaptor,
        binary_adaptor,
        tests_adaptor,
        plugin_adaptor,
        *(RootRule(target_type) for target_type in PYTHON_TARGET_TYPES),
        *(UnionRule(FormatTarget, target_type) for target_type in PYTHON_TARGET_TYPES),
    ]

After Change




def rules():
    return [format_python_target, UnionRule(LanguageFormatters, PythonFormatters)]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 12

Instances


Project Name: pantsbuild/pants
Commit Name: c2313daa955f50184c31fba3164db7ec02bde465
Time: 2020-03-02
Author: ericarellano@me.com
File Name: src/python/pants/backend/python/lint/python_formatter.py
Class Name:
Method Name: rules


Project Name: pantsbuild/pants
Commit Name: 5036877eb6bf18db3f6e6ebe15696b9a1585b667
Time: 2018-12-10
Author: 1305167+cosmicexplorer@users.noreply.github.com
File Name: src/python/pants/backend/native/subsystems/native_toolchain.py
Class Name:
Method Name: create_native_toolchain_rules


Project Name: pantsbuild/pants
Commit Name: 3ffd02d05cc87b6a8f034ad014c6656e71ae6bf7
Time: 2020-01-17
Author: ericarellano@me.com
File Name: src/python/pants/engine/legacy/graph.py
Class Name:
Method Name: create_legacy_graph_tasks