def rules(): return [ *additional_fields.rules(), *python_protobuf_subsystem.rules(), *python_rules(), *python_protobuf_module_mapper.rules(), *protobuf_dependency_inference.rules(), *export_codegen_goal.rules(), ]
def rule_runner() -> RuleRunner: return RuleRunner( rules=[ *additional_fields.rules(), *stripped_source_files.rules(), *python_protobuf_module_mapper.rules(), QueryRule(FirstPartyPythonMappingImpl, [PythonProtobufMappingMarker]), ], target_types=[ProtobufLibrary], )
def rule_runner() -> RuleRunner: return RuleRunner( rules=[ *stripped_source_files.rules(), *module_mapper_rules(), *python_protobuf_module_mapper.rules(), QueryRule(FirstPartyPythonModuleMapping, []), QueryRule(ThirdPartyPythonModuleMapping, []), QueryRule(PythonModuleOwners, [PythonModule]), ], target_types=[PythonLibrary, PythonRequirementLibrary, ProtobufLibrary], )
def rules(): return [ *additional_fields.rules(), *python_protobuf_subsystem.rules(), *python_rules(), *python_protobuf_module_mapper.rules(), *protobuf_dependency_inference.rules(), *protobuf_tailor.rules(), *export_codegen_goal.rules(), *protobuf_target_rules(), *module_mapper.rules(), *stripped_source_files.rules(), ]
def rule_runner() -> RuleRunner: return RuleRunner( rules=[ *stripped_source_files.rules(), *module_mapper_rules(), *python_protobuf_module_mapper.rules(), *target_types_rules.rules(), *protobuf_additional_fields_rules(), *protobuf_target_type_rules(), QueryRule(FirstPartyPythonModuleMapping, []), QueryRule(ThirdPartyPythonModuleMapping, []), QueryRule(PythonModuleOwners, [PythonModuleOwnersRequest]), ], target_types=[ PythonSourceTarget, PythonSourcesGeneratorTarget, PythonRequirementTarget, ProtobufSourcesGeneratorTarget, ], )