def sorry_comma_check()

in lean/scripts/lint_style.py [0:0]


def sorry_comma_check(lines, path):
    errors = []
    for line_nr, line in enumerate(lines, 1):
        if "sorry," in line:
            errors += [(ERR_SOR, line_nr, path)]
    return errors