Exemple #1
0
def has_resources(tgt: Target) -> bool:
    return isinstance(tgt, Files) and tgt.has_sources()
Exemple #2
0
def has_python_sources(tgt: Target) -> bool:
    return is_python_target(tgt) and tgt.has_sources()