in lean/scripts/lint_style.py [0:0]
def tailing_space_check(lines, path): errors = [] for line_nr, line in enumerate(lines, 1): if line.endswith(' \n'): errors += [(ERR_TSP, line_nr, path)] return errors