def lua_format(lines, settings):
    _lua_format(lines, settings)
    r = ''
    blank_line_count = 0
    for line in _lines:
        if line.is_blank_line():
            blank_line_count += 1
            if (blank_line_count >= 2):
                continue
        else:
            blank_line_count = 0
        r += str(line)
    r = r[:(- 1)]
    return r
def lua_format(lines, settings):
    _lua_format(lines, settings)
    r = 
    blank_line_count = 0
    for line in _lines:
        if line.is_blank_line():
            blank_line_count += 1
            if (blank_line_count >= 2):
                continue
        else:
            blank_line_count = 0
        r += str(line)
    r = r[:(- 1)]
    return r