Parses pylint output, counting number of errors, conventions, etc
    :param output: output list generated by run_pylint()
    :return:

def parse_pylint_output(output):
    """
    Parses pylint output, counting number of errors, conventions, etc
    :param output: output list generated by run_pylint()
    :return:
    """

    stripped_output = [x[0] for x in output]

    counter = Counter(stripped_output)

    return counter