954a38a74bab0cd688b68393ff16313686cea7e0,src/python/pants/backend/python/lint/pylint/rules.py,PylintPartition,__init__,#PylintPartition#Any#Any#Any#,78
Before Change
plugin_targets: Iterable[Target],
) -> None:
self.field_sets = tuple(target_setup.field_set for target_setup in target_setups)
self.targets_with_dependencies = Targets(
itertools.chain.from_iterable(
target_setup.target_with_dependencies for target_setup in target_setups
)
)
self.interpreter_constraints = interpreter_constraints
self.plugin_targets = Targets(plugin_targets)
After Change
interpreter_constraints: PexInterpreterConstraints,
plugin_targets: Iterable[Target],
) -> None:
field_sets = []
targets_with_deps: List[Target] = []
for target_setup in target_setups:
field_sets.append(target_setup.field_set)
targets_with_deps.extend(target_setup.target_with_dependencies)
self.field_sets = tuple(field_sets)
self.targets_with_dependencies = Targets(targets_with_deps)
self.interpreter_constraints = interpreter_constraints
self.plugin_targets = Targets(plugin_targets)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: pantsbuild/pants
Commit Name: 954a38a74bab0cd688b68393ff16313686cea7e0
Time: 2020-09-03
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/lint/pylint/rules.py
Class Name: PylintPartition
Method Name: __init__
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: b4eb76c08f9e613275f4b6bba4d32c8cc1224cdc
Time: 2021-03-23
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/dependency_inference/rules.py
Class Name:
Method Name: infer_python_dependencies_via_imports