def _ignore_file(self, path):

        if os.path.basename(path).startswith("."):
            return True

        # Special case for Finder Icon files
        if os.path.basename(path) in "\r":
            return True

        return False
dataset/ETHPy150Open koenbok/Cactus/cactus/deployment/engine.py/BaseDeploymentEngine._ignore_file/swapped operands of `in`