def rules(): return [ *collect_rules(), *check.rules(), *dependency_inference.rules(), *tailor.rules(), *target_gen.rules(), *target_types_rules(), *tool.rules(), *style.rules(), *pex_rules(), *tffmt_rules(), ]
def rule_runner() -> RuleRunner: return RuleRunner( target_types=[TerraformModuleTarget], rules=[ *external_tool.rules(), *check.rules(), *tool.rules(), *style.rules(), *source_files.rules(), QueryRule(CheckResults, (TerraformCheckRequest, )), QueryRule(SourceFiles, (SourceFilesRequest, )), ], )
def rule_runner() -> RuleRunner: return RuleRunner( target_types=[TerraformModuleTarget], rules=[ *external_tool.rules(), *fmt.rules(), *tffmt.rules(), *tool.rules(), *style.rules(), *source_files.rules(), QueryRule(LintResults, (TffmtRequest, )), QueryRule(FmtResult, (TffmtRequest, )), QueryRule(SourceFiles, (SourceFilesRequest, )), ], )