1 2 3 4 5 6 7 8 9
# @generated """Minimalist example of a rule that does nothing.""" def _empty_impl(ctx): # This function is called when the rule is analyzed. # You may use print for debugging. print("This rule does nothing") empty = rule(implementation=_empty_impl)