def skipdir(path):
    name = os.path.basename(path)
    return skipfile(name) or not os.path.isdir(path) or name in SKIPDIRS
dataset/ETHPy150Open quantmind/lux/lux/core/commands/media.py/skipdir/original