def rule_runner() -> RuleRunner: return RuleRunner( rules=[ *peek.rules(), QueryRule(TargetDatas, [AddressSpecs]), ], target_types=[FilesGeneratorTarget, GenericTarget], )
def rules(): return [ *count_loc.rules(), *dependees.rules(), *dependencies.rules(), *filedeps.rules(), *filter_targets.rules(), *list_roots.rules(), *list_targets.rules(), *peek.rules(), *source_file_validator.rules(), ]
def rules(): return [ *count_loc.rules(), *dependees.rules(), *dependencies.rules(), *filedeps.rules(), *filter_targets.rules(), *list_roots.rules(), *list_targets.rules(), *paths.rules(), *peek.rules(), *regex_lint.rules(), ]
def rule_runner() -> RuleRunner: return RuleRunner(rules=peek.rules(), target_types=[Files])