<commit_before>"""
    Filter functions for media and user lists.
"""

from . import delay


# Adding `users_id`s to `skipped.txt`, such that InstaBot will not
# try to follow them again or InstaBot will not like their media anymore.
def skippedlist_adder(self, user_id):
    self.skipped_file.append(user_id)


# Filtering media

def filter_medias(self, media_items, filtration=True, quiet=False, is_comment=False):
    if filtration:
        if not quiet:
            self.logger.info("Received {} medias.".format(len(media_items)))
        if not is_comment:<commit_msg>Remove 'skippedlist_adder' completely<commit_after>"""
    Filter functions for media and user lists.
"""

from . import delay


# Filtering media

def filter_medias(self, media_items, filtration=True, quiet=False, is_comment=False):
    if filtration:
        if not quiet:
            self.logger.info("Received {} medias.".format(len(media_items)))
        if not is_comment:
{'fraction_non_alphanumeric': 0.10199789695057834, 'fraction_numerical': 0.0, 'mean_word_length': 3.83248730964467, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5599301', 'n_tokens_mistral': 298, 'n_tokens_neox': 282, 'n_words': 85}