def expand_property(line, usecolon=True):
    """Expands a property. Used to expand on `:` or ` `.

    >>> expand_property("m")
    "margin:"
    """
    indent, snippet = split_indent(line)

    options = index.properties.get(snippet)
    if not options: return

    separator = ':' if usecolon else ''

    return (indent, options["property"], separator) % "%s%s%s"
dataset/ETHPy150Open rstacruz/vim-hyperstyle/python/hyperstyle.py/expand_property/swapped operands of `%`