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: 14

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: d161013912e98279f6a1458228ba42882f618c6e
Time: 2020-02-03
Author: ericarellano@me.com
File Name: src/python/pants/backend/python/lint/python_format_target.py
Class Name:
Method Name: rules


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