docs: def hashify_targets(targets: list, build_context) -> list:
      """Return sorted hashes of `targets`."""
      return sorted(build_context.targets[target_name].hash(build_context)
                    for target_name in listify(targets))