def process_file(vcs, commit, force, gitlint_config, file_data):
    """Lint the file

    Returns:
      The results from the linter.
    """
    filename, extra_data = file_data

    if force:
        modified_lines = None
    else:
        modified_lines = vcs.modified_lines(
            filename, extra_data, commit=commit)
    result = linters.lint(filename, modified_lines, gitlint_config)
    result = result[filename]

    return filename, result
def process_file ( vcs , commit , force , gitlint_config , file_data ) : filename , extra_data = file_data if force : modified_lines = None else : modified_lines = vcs . modified_lines ( filename , extra_data , commit = commit ) result = linters . lint ( filename , modified_lines , gitlint_config ) result = result [ filename ] return filename , result
Lint the file

    Returns:
      The results from the linter.