Пример #1
0
 def rules(cls):
     return (
         *super().rules(),
         create_coverage_config,
         *pytest_runner.rules(),
         *determine_source_files.rules(),
         *python_sources.rules(),
         *pex.rules(),
         *pex_from_targets.rules(),
         *strip_source_roots.rules(),
         RootRule(PythonTestFieldSet),
         # For conftest detection.
         *dependency_inference_rules.rules(),
     )
Пример #2
0
def rules():
    return (
        *download_pex_bin.rules(),
        *inject_init.rules(),
        *importable_python_sources.rules(),
        *pex.rules(),
        *pex_from_targets.rules(),
        *pytest_coverage.rules(),
        *pytest_runner.rules(),
        *python_create_binary.rules(),
        *python_native_code.rules(),
        *repl.rules(),
        *run_setup_py.rules(),
        *subprocess_environment.rules(),
    )
Пример #3
0
 def rules(cls):
     return (
         *super().rules(),
         *pytest_coverage.rules(),
         *pytest_runner.rules(),
         *download_pex_bin.rules(),
         *determine_source_files.rules(),
         *importable_python_sources.rules(),
         *pex.rules(),
         *pex_from_targets.rules(),
         *python_native_code.rules(),
         *strip_source_roots.rules(),
         *subprocess_environment.rules(),
         subsystem_rule(TestOptions),
         RootRule(PythonTestConfiguration),
     )
 def rules(cls):
     return (
         *super().rules(),
         *pytest_coverage.rules(),
         *pytest_runner.rules(),
         *download_pex_bin.rules(),
         *determine_source_files.rules(),
         *pex.rules(),
         *pex_from_target_closure.rules(),
         *prepare_chrooted_python_sources.rules(),
         *python_native_code.rules(),
         *strip_source_roots.rules(),
         *subprocess_environment.rules(),
         subsystem_rule(TestOptions),
         RootRule(PytestRunner),
     )
Пример #5
0
def rules():
    return (
        *coverage.rules(),
        *ancestor_files.rules(),
        *python_sources.rules(),
        *dependency_inference_rules.rules(),
        *pex.rules(),
        *pex_cli.rules(),
        *pex_environment.rules(),
        *pex_from_targets.rules(),
        *pytest_runner.rules(),
        *create_python_binary.rules(),
        *python_native_code.rules(),
        *repl.rules(),
        *run_python_binary.rules(),
        *run_setup_py.rules(),
        *subprocess_environment.rules(),
    )