def get_project_files():
    if is_git_project() and has_git():
        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
Retrieve a list of project files, ignoring hidden files.
dataset/ETHPy150Open calvinschmdt/EasyTensorflow/setup.py/get_project_files