<commit_before>from django import forms


def widget_attrs(placeholder):
    return {'class': 'u-full-width', 'placeholder': placeholder}


def form_kwargs(widget, max_length=128):
    return {'widget': widget, 'max_length': max_length}


class TodoForm(forms.Form):
    description = forms.CharField(
        form_kwargs(
            widget=forms.TextInput(attrs=widget_attrs('Enter your todo'))
        )
    )


class TodoListForm(forms.Form):
    title = forms.CharField(
        form_kwargs(
            widget=forms.TextInput(
                attrs=widget_attrs('Enter a title to start a new todolist')
            )
        )
    )
<commit_msg>Undid list form changes.<commit_after>from django import forms


def widget_attrs(placeholder):
    return {'class': 'u-full-width', 'placeholder': placeholder}


class TodoForm(forms.Form):
    description = forms.CharField(
        max_length=128,
        widget=forms.TextInput(attrs=widget_attrs('Enter your todo'))
    )


class TodoListForm(forms.Form):
    title = forms.CharField(
        max_length=128,
        widget=forms.TextInput(
            attrs=widget_attrs('Enter a title to start a new todolist')
        )
    )

{'fraction_non_alphanumeric': 0.1089527027027027, 'fraction_numerical': 0.007601351351351352, 'mean_word_length': 2.9368770764119603, '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': '3460731', 'n_tokens_mistral': 359, 'n_tokens_neox': 344, 'n_words': 77}