def get_all_files()

in foundation_security_advisories/common.py [0:0]


def get_all_files():
    """
    Return all advisory file names in the repo.

    :return: generator of file names.
    """
    for root, dirnames, filenames in os.walk(ADVISORIES_DIR):
        for filename in fnmatch.filter(filenames, "mfsa*.*"):
            yield os.path.join(root, filename)

    for filename in glob("{}/*.yml".format(HOF_DIR)):
        yield filename