<commit_before>from django import forms
from imfp.events.constants import EVENT_TYPES, EVENT_ZONES


class CreateEventForm(forms.Form):
    name = forms.CharField(max_length=255)
    description = forms.CharField(max_length=255)
    seats = forms.IntegerField()
    time = forms.DateTimeField()
    type = forms.ChoiceField(choices=EVENT_TYPES)
    zone = forms.ChoiceField(choices=EVENT_ZONES)


class EventActionsFormBase(forms.Form):
    user_id = forms.IntegerField()


class SubscribeToEventForm(EventActionsFormBase):
    pass


class UnsubscribeFromEventForm(EventActionsFormBase):
    pass


class DeleteEventForm(EventActionsFormBase):
    pass<commit_msg>make tests happy<commit_after>from django import forms
from imfp.events.constants import EVENT_TYPES, EVENT_ZONES


class CreateEventForm(forms.Form):
    user_id = forms.IntegerField()
    name = forms.CharField(max_length=255)
    description = forms.CharField(max_length=255)
    seats = forms.IntegerField()
    creation_time = forms.DateTimeField()
    type = forms.ChoiceField(choices=EVENT_TYPES)
    zone = forms.ChoiceField(choices=EVENT_ZONES)


class EventActionsFormBase(forms.Form):
    user_id = forms.IntegerField()


class SubscribeToEventForm(EventActionsFormBase):
    pass


class UnsubscribeFromEventForm(EventActionsFormBase):
    pass


class DeleteEventForm(EventActionsFormBase):
    pass
{'fraction_non_alphanumeric': 0.08278867102396514, 'fraction_numerical': 0.008714596949891068, 'mean_word_length': 5.350230414746544, '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': '2056261', 'n_tokens_mistral': 428, 'n_tokens_neox': 417, 'n_words': 75}