def transform(self, node, results):
        position = node.prefix.find("#")
        if position > 2:
            # Already more than two spaces before comment
            whitespace_before, comment_after = node.prefix.split("#", 1)
            new_prefix = "%s# %s" % (whitespace_before, comment_after.lstrip(
            ))
        else:
            new_prefix = "  # %s" % node.prefix.replace("#", "", 1).lstrip()
        if node.prefix != new_prefix:
            node.prefix = new_prefix
            node.changed()
dataset/ETHPy150Open spulec/pep8ify/pep8ify/fixes/fix_whitespace_before_inline_comment.py/FixWhitespaceBeforeInlineComment.transform/original