def rules(): return [ create_pex, two_step_create_pex, RootRule(PexRequest), RootRule(TwoStepPexRequest), subsystem_rule(PythonSetup), subsystem_rule(PythonRepos), ]
def rules(): return [ run_python_test, debug_python_test, setup_pytest_for_target, UnionRule(TestTarget, PythonTestsAdaptorWithOrigin), subsystem_rule(PyTest), subsystem_rule(PythonSetup), ]
def rules(): return [ run_python_test, debug_python_test, setup_pytest_for_target, UnionRule(TestRunner, PytestRunner), subsystem_rule(PyTest), subsystem_rule(PythonSetup), ]
def rules(): return [ run_python_test, debug_python_test, setup_pytest_for_target, UnionRule(TestConfiguration, PythonTestConfiguration), subsystem_rule(PyTest), subsystem_rule(PythonSetup), ]
def rules(): return [ strip_source_roots_from_snapshot, strip_source_roots_from_target, subsystem_rule(SourceRootConfig), RootRule(StripTargetRequest), RootRule(StripSnapshotRequest), ]
def create_options_parsing_rules(): return [ scope_options, parse_options, subsystem_rule(GlobalOptions), RootRule(Scope), RootRule(OptionsBootstrapper), ]
def rules(): return [ subsystem_rule(IPython), UnionRule(ReplImplementation, PythonRepl), UnionRule(ReplImplementation, IPythonRepl), run_python_repl, run_ipython_repl, ]
def rules(): return [ strip_source_roots_from_snapshot, strip_source_roots_from_sources_field, subsystem_rule(SourceRootConfig), RootRule(StripSnapshotRequest), RootRule(StripSourcesFieldRequest), *target_rules(), ]
def rules(): return [ scope_options, parse_options, subsystem_rule(GlobalOptions), log_level, RootRule(Scope), RootRule(OptionsBootstrapper), ]
def rules(): return [ setup_isort, create_isort_request, fmt, lint, subsystem_rule(Isort), UnionRule(PythonFormatTarget, IsortTarget), UnionRule(PythonLintTarget, IsortTarget), ]
def rules(): return [ lint, subsystem_rule(Bandit), UnionRule(PythonLintTarget, BanditTarget), *download_pex_bin.rules(), *pex.rules(), *python_native_code.rules(), *subprocess_environment.rules(), ]
def rules(): return [ setup_black, create_black_request, fmt, lint, subsystem_rule(Black), UnionRule(PythonFormatTarget, BlackTarget), UnionRule(PythonLintTarget, BlackTarget), ]
def rules(): return [ create_coverage_config, generate_coverage_report, merge_coverage_data, setup_coverage, subsystem_rule(PytestCoverage), UnionRule(CoverageDataCollection, PytestCoverageDataCollection), RootRule(CoverageConfigRequest), ]
def rules(): return [ RootRule(PytestCoverageDataBatch), RootRule(CoveragercRequest), construct_coverage_config, generate_coverage_report, merge_coverage_data, subsystem_rule(PytestCoverage), setup_coverage, UnionRule(CoverageDataBatch, PytestCoverageDataBatch), ]
def rules(): return [ lint, subsystem_rule(Flake8), UnionRule(Linter, Flake8Linter), *download_pex_bin.rules(), *determine_source_files.rules(), *pex.rules(), *python_native_code.rules(), *strip_source_roots.rules(), *subprocess_environment.rules(), ]
def rules(): return [ bandit_lint, subsystem_rule(Bandit), UnionRule(LinterConfigurations, BanditConfigurations), *download_pex_bin.rules(), *determine_source_files.rules(), *pex.rules(), *python_native_code.rules(), *strip_source_roots.rules(), *subprocess_environment.rules(), ]
def rules(): return [ pylint_lint, subsystem_rule(Pylint), UnionRule(Linter, PylintLinter), *download_pex_bin.rules(), *determine_source_files.rules(), *pex.rules(), *importable_python_sources.rules(), *strip_source_roots.rules(), *python_native_code.rules(), *subprocess_environment.rules(), ]
def rules(): return [ run_setup_pys, run_setup_py, generate_chroot, get_sources, get_requirements, get_ancestor_init_py, get_owned_dependencies, get_exporting_owner, setup_setuptools, subsystem_rule(Setuptools), ]
def rules(): return [ create_python_awslambda, setup_lambdex, UnionRule(AWSLambdaConfiguration, PythonAwsLambdaConfiguration), subsystem_rule(Lambdex), *download_pex_bin.rules(), *importable_python_sources.rules(), *pex.rules(), *pex_from_targets.rules(), *python_native_code.rules(), *strip_source_roots.rules(), *subprocess_environment.rules(), ]
def rules(): return [ setup_black, create_black_request, fmt, lint, subsystem_rule(Black), UnionRule(PythonFormatTarget, BlackTarget), UnionRule(PythonLintTarget, BlackTarget), *download_pex_bin.rules(), *pex.rules(), *python_native_code.rules(), *subprocess_environment.rules(), ]
def rules(): return [ create_python_awslambda, setup_lambdex, UnionRule(AWSLambdaTarget, PythonAWSLambdaAdaptor), subsystem_rule(Lambdex), *download_pex_bin.rules(), *pex.rules(), *pex_from_target_closure.rules(), *prepare_chrooted_python_sources.rules(), *python_native_code.rules(), *strip_source_roots.rules(), *subprocess_environment.rules(), ]
def rules(cls): return ( *super().rules(), *python_test_runner.rules(), *download_pex_bin.rules(), *inject_init.rules(), *pex.rules(), *pex_from_target_closure.rules(), *prepare_chrooted_python_sources.rules(), *python_native_code.rules(), *strip_source_root.rules(), *subprocess_environment.rules(), subsystem_rule(TestOptions), RootRule(PythonTestsAdaptor), )
def rules(): return [ setup, fmt, lint, subsystem_rule(Docformatter), UnionRule(PythonFormatter, DocformatterFormatter), UnionRule(Linter, DocformatterFormatter), *download_pex_bin.rules(), *determine_source_files.rules(), *pex.rules(), *python_native_code.rules(), *strip_source_roots.rules(), *subprocess_environment.rules(), ]
def rules(): return [ setup, black_fmt, black_lint, subsystem_rule(Black), UnionRule(PythonFmtConfigurations, BlackConfigurations), UnionRule(LinterConfigurations, BlackConfigurations), *download_pex_bin.rules(), *determine_source_files.rules(), *pex.rules(), *python_native_code.rules(), *strip_source_roots.rules(), *subprocess_environment.rules(), ]
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), )
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(): return [ subsystem_rule(SubprocessEnvironment), create_subprocess_encoding_environment, ]
def rules(): return [ generate_python_from_protobuf, UnionRule(GenerateSourcesRequest, GeneratePythonFromProtobufRequest), subsystem_rule(Protoc), ]
def rules(): return [ validate, match_regexes_for_one_snapshot, subsystem_rule(SourceFileValidation), ]
def rules(): return [ run_cloc, download_cloc_script, subsystem_rule(ClocBinary), ]