d161013912e98279f6a1458228ba42882f618c6e,src/python/pants/backend/python/lint/python_format_target.py,,rules,#,74
Before Change
def rules():
return [
format_python_target,
target_adaptor,
app_adaptor,
binary_adaptor,
tests_adaptor,
plugin_adaptor,
UnionRule(FormatTarget, PythonTargetAdaptor),
UnionRule(FormatTarget, PythonAppAdaptor),
UnionRule(FormatTarget, PythonBinaryAdaptor),
UnionRule(FormatTarget, PythonTestsAdaptor),
UnionRule(FormatTarget, PantsPluginAdaptor),
]
After 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)
]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances
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: 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_lint_target.py
Class Name:
Method Name: rules