nodes: 0, module; 1, function_definition; 2, function_name:hashify_targets; 3, parameters; 4, type; 5, block; 6, typed_parameter; 7, identifier:build_context; 8, identifier:list; 9, expression_statement; 10, return_statement; 11, identifier:targets; 12, type; 13, comment:"""Return sorted hashes of `targets`."""; 14, call; 15, identifier:list; 16, identifier:sorted; 17, generator_expression; 18, call; 19, for_in_clause; 20, attribute; 21, argument_list; 22, identifier:target_name; 23, call; 24, subscript; 25, identifier:hash; 26, identifier:build_context; 27, identifier:listify; 28, argument_list; 29, attribute; 30, identifier:target_name; 31, identifier:targets; 32, identifier:build_context; 33, identifier:targets
code: 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))