// Pylint needs direct dependencies in the chroot to ensure that imports are valid. However, it
// doesn"t lint those direct dependencies nor does it care about transitive dependencies.
// TODO: simplify this once there"s a way to go from TargetAdaptor -> HydratedTarget.
hydrated_targets = await MultiGet(
Get[HydratedTarget](Address, adaptor_with_origin.adaptor.address)for adaptor_with_origin in adaptors_with_origins
)
dependencies = await MultiGet(
Get[HydratedTarget](Address, dependency)
After Change
// Pylint needs direct dependencies in the chroot to ensure that imports are valid. However, it
// doesn"t lint those direct dependencies nor does it care about transitive dependencies.
hydrated_targets = [
HydratedTarget(adaptor_with_origin.adaptor) for adaptor_with_origin in adaptors_with_origins
]
dependencies = await MultiGet(
Get[HydratedTarget](Address, dependency)