def get_project_files():
    if is_git_project():
        return get_git_project_files()
    project_files = []
    for top, subdirs, files in os.walk('.'):
        for subdir in subdirs:
            if subdir.startswith('.'):
                subdirs.remove(subdir)
        for f in files:
            if f.startswith('.'):
                continue
            project_files.append(os.path.join(top, f))
    return project_files