<commit_before>from django import forms

import settings

OUTCOME_CHOICES = settings.EVENT_OUTCOME_CHOICES
EVENT_TYPE_CHOICES = settings.EVENT_TYPE_CHOICES


class EventSearchForm(forms.Form):
    event_outcome = forms.ChoiceField(
        widget=forms.Select(
            attrs={
                'id': 'prependedInput',
                'class': 'input-small',
            }
        ),
        choices=OUTCOME_CHOICES,
        required=False)

    event_type = forms.ChoiceField(
        widget=forms.Select(
            attrs={
                'id': 'prependedInput',
                'class': 'input-medium',
            }
        ),
        choices=EVENT_TYPE_CHOICES,
        required=False)

    start_date = forms.DateField(
        widget=forms.DateInput(
            attrs={
                'id': 'startdatepicker',
                'placeholder': 'Start Date',
                'class': 'input-small',
            }
        ),
        required=False)

    end_date = forms.DateField(
        widget=forms.DateInput(
            attrs={
                'id': 'enddatepicker',
                'placeholder': 'End Date',
                'class': 'input-small',
            }
        ),
        required=False)

    linked_object_id = forms.CharField(
        widget=forms.TextInput(
            attrs={
                'placeholder': 'Linked Object ID',
                'class': 'input-medium',
            }
        ),
        max_length=20,
        required=False,
    )<commit_msg>Fix formatting for the EventSearchForm class.<commit_after>from django import forms

import settings

OUTCOME_CHOICES = settings.EVENT_OUTCOME_CHOICES
EVENT_TYPE_CHOICES = settings.EVENT_TYPE_CHOICES


class EventSearchForm(forms.Form):
    event_outcome = forms.ChoiceField(
        widget=forms.Select(attrs={'id': 'prependedInput', 'class': 'input-small'}),
        choices=OUTCOME_CHOICES,
        required=False)

    event_type = forms.ChoiceField(
        widget=forms.Select(attrs={'id': 'prependedInput', 'class': 'input-medium'}),
        choices=EVENT_TYPE_CHOICES,
        required=False)

    start_date = forms.DateField(
        widget=forms.DateInput(attrs={'id': 'startdatepicker', 'placeholder': 'Start Date', 'class': 'input-small'}),  # noqa
        required=False)

    end_date = forms.DateField(
        widget=forms.DateInput(attrs={'id': 'enddatepicker', 'placeholder': 'End Date', 'class': 'input-small'}),  # noqa
        required=False)

    linked_object_id = forms.CharField(
        widget=forms.TextInput(attrs={'placeholder': 'Linked Object ID', 'class': 'input-medium'}),
        max_length=20,
        required=False)

{'fraction_non_alphanumeric': 0.12007575757575757, 'fraction_numerical': 0.0015151515151515152, 'mean_word_length': 2.2246642246642248, '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': '5423596', 'n_tokens_mistral': 779, 'n_tokens_neox': 741, 'n_words': 133}