Beispiel #1
0
def rules():
    return [
        *collect_rules(),
        *extract_pex.rules(),
        *pex.rules(),
        UnionRule(GenerateSourcesRequest, GeneratePythonFromProtobufRequest),
    ]
Beispiel #2
0
def rule_runner() -> RuleRunner:
    return RuleRunner(rules=[
        *extract_pex.rules(),
        *pex.rules(),
        QueryRule(Pex, [PexRequest]),
        QueryRule(ExtractedPexDistributions, [Pex]),
    ])
Beispiel #3
0
def rules():
    return [
        *collect_rules(),
        UnionRule(TypecheckRequest, MyPyRequest),
        *extract_pex.rules(),
        *pants_bin.rules(),
        *pex_from_targets.rules(),
    ]
Beispiel #4
0
def rules():
    return (
        *coverage_py.rules(),
        *ancestor_files.rules(),
        *extract_pex.rules(),
        *python_sources.rules(),
        *dependency_inference_rules.rules(),
        *pex.rules(),
        *pex_cli.rules(),
        *pex_environment.rules(),
        *pex_from_targets.rules(),
        *pytest_runner.rules(),
        *package_pex_binary.rules(),
        *python_native_code.rules(),
        *repl.rules(),
        *run_pex_binary.rules(),
        *target_types_rules.rules(),
        *setup_py.rules(),
    )