(self, rows, form_id, label_index)
return valid_rows
Remove translations from questions that have SKIP TRANSIFEX in the comment
Remove translations from questions that have SKIP TRANSIFEX in the comment
Remove translations from questions that have SKIP TRANSIFEX in the comment
def filter_invalid_rows_for_form(self, rows, form_id, label_index):
        """
        Remove translations from questions that have SKIP TRANSIFEX in the comment
        """
        labels_to_skip = self.checker.get_labels_to_skip()[form_id]
        valid_rows = []
        for i, row in enumerate(rows):
            question_label = row[label_index]
            if question_label not in labels_to_skip:
                valid_rows.append(row)
        return valid_rows
def filter_invalid_rows_for_form ( self , rows , form_id , label_index ) : labels_to_skip = self . checker . get_labels_to_skip ( ) [ form_id ] valid_rows = [ ] for i , row in enumerate ( rows ) : question_label = row [ label_index ] if question_label not in labels_to_skip : valid_rows . append ( row ) return valid_rows