def git_ls_files(*cmd_args):
    """Run ``git ls-files`` in the top-level project directory. Arguments go
    directly to execution call.

    :return: set of file names
    :rtype: :class:`set`
    """
    cmd = ['git', 'ls-files']
    cmd.extend(cmd_args)
    return set(subprocess.check_output(cmd).splitlines())
def git_ls_files ( * cmd_args ) : cmd = [ 'git' , 'ls-files' ] cmd . extend ( cmd_args ) return set ( subprocess . check_output ( cmd ) . splitlines ( ) )
Run ``git ls-files`` in the top-level project directory. Arguments go
    directly to execution call.

    :return: set of file names
    :rtype: :class:`set`