blob: 0f3a45c6a1365d7776679f419bb6af3ff35b4249 [file] [log] [blame]
"""Input file to test angle bracket bug (https://github.com/bazelbuild/skydoc/issues/186)"""
def bracket_function(name):
"""Dummy docstring with <brackets>.
This rule runs checks on <angle brackets>.
Args:
name: an arg with **formatted** docstring.
Returns:
some <angled> brackets
"""
pass
bracketuse = provider(
doc = "Information with <brackets>",
fields = {
"foo": "A string representing <foo>",
"bar": "A string representing bar",
"baz": "A string representing baz",
},
)
def _rule_impl(ctx):
return []
my_anglebrac = rule(
implementation = _rule_impl,
doc = "Rule with <brackets>",
attrs = {
"useless": attr.string(
doc = "Args with some tags: <tag1>, <tag2>",
default = "Find <brackets>",
),
},
)