<commit_before>from django.contrib.auth import get_user_model


class DefaultHookSet(object):

    def get_user_choices(self, user):
        return get_user_model().objects.all()


class HookProxy(object):
    _settings = None

    def load_settings(self):
        if self._settings is None:
            from .conf import settings<commit_msg>Exlude self from recipient list<commit_after>from django.contrib.auth import get_user_model


class DefaultHookSet(object):

    def get_user_choices(self, user):
        return get_user_model().objects.exclude(id=user.id)


class HookProxy(object):
    _settings = None

    def load_settings(self):
        if self._settings is None:
            from .conf import settings
{'fraction_non_alphanumeric': 0.08100558659217877, 'fraction_numerical': 0.0, 'mean_word_length': 3.48125, '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': '6165391', 'n_tokens_mistral': 212, 'n_tokens_neox': 202, 'n_words': 53}