def getIndent(line: str):
    """ get the indent part of a line of code """
    i = 0
    for i in range(len(line)):
        if line[i] != ' ' and line[i] != '\t':
            break
    indent = line[:i]
    return indent
