(self, path)
return abs_path in set(protected_abs_paths) or \
            self.__is_project_path(abs_path)
This function identifies protected paths, so as not to clean them.
This function identifies protected paths, so as not to clean them.
This function identifies protected paths so as not to clean them .
def __is_protected_path(self, path):
        """
        This function identifies protected paths, so as not to clean them.
        """
        abs_path = os.path.abspath(path)
        protected_paths = self.config.model_paths + \
            self.config.test_paths + ['.']
        protected_abs_paths = [os.path.abspath(p) for p in protected_paths]
        return abs_path in set(protected_abs_paths) or \
            self.__is_project_path(abs_path)
def __is_protected_path ( self , path ) : abs_path = os . path . abspath ( path ) protected_paths = self . config . model_paths + self . config . test_paths + [ '.' ] protected_abs_paths = [ os . path . abspath ( p ) for p in protected_paths ] return abs_path in set ( protected_abs_paths ) or self . __is_project_path ( abs_path )