@staticmethod
def _validate_custom_target_outputs(has_multi_in: bool, outputs: T.Iterable[str], name: str) -> None:
    'Checks for additional invalid values in a custom_target output.\n\n        This cannot be done with typed_kwargs because it requires the number of\n        inputs.\n        '
    for out in outputs:
        if (has_multi_in and (('@PLAINNAME@' in out) or ('@BASENAME@' in out))):
            raise InvalidArguments(f"""{name}: output cannot containe "@PLAINNAME@" or "@BASENAME@" when there is more than one input (we can't know which to use)""")
Checks for additional invalid values in a custom_target output.

This cannot be done with typed_kwargs because it requires the number of
inputs.
@staticmethod
def _validate_custom_target_outputs(has_multi_in: bool, outputs: T.Iterable[str], name: str) -> None:
    'Checks for additional invalid values in a custom_target output.\n\n        This cannot be done with typed_kwargs because it requires the number of\n        inputs.\n        '
    for out in outputs:
        if (has_multi_in and (('@PLAINNAME@' in out) or ('@BASENAME@' in out))):
            raise InvalidArguments(f"{name}: output cannot containe "@PLAINNAME@" or "@BASENAME@" when there is more than one input (we can't know which to use)")