1"""Input file to test angle bracket bug (https://github.com/bazelbuild/skydoc/issues/186)""" 2 3def bracket_function(name): 4 """Dummy docstring with <brackets>. 5 6 This rule runs checks on <angle brackets>. 7 8 Args: 9 name: an arg with **formatted** docstring. 10 11 Returns: 12 some <angled> brackets 13 14 """ 15 pass 16 17bracketuse = provider( 18 doc = "Information with <brackets>", 19 fields = { 20 "foo": "A string representing <foo>", 21 "bar": "A string representing bar", 22 "baz": "A string representing baz", 23 }, 24) 25 26def _rule_impl(ctx): 27 return [] 28 29my_anglebrac = rule( 30 implementation = _rule_impl, 31 doc = "Rule with <brackets>", 32 attrs = { 33 "useless": attr.string( 34 doc = "Args with some tags: <tag1>, <tag2>", 35 default = "Find <brackets>", 36 ), 37 }, 38) 39