def lint_file(in_file, out_file=None):
for line in in_file:<EOL><INDENT>print(line.strip(), file=out_file)<EOL><DEDENT>
Helps remove extraneous whitespace from the lines of a file

    :param file in_file: A readable file or file-like
    :param file out_file: A writable file or file-like