def scan_for_modules():
    return [entry
            for entry in os.listdir(os.getcwd())
            if ((os.path.isdir(entry) or entry.endswith(".py")) and
                module_exclusions not in entry)]
dataset/ETHPy150Open reviewboard/reviewboard/contrib/internal/run-pyflakes.py/scan_for_modules/swapped operands of `not in`