<commit_before>from django import forms


class TodoForm(forms.Form):
    description = forms.CharField(max_length=128, widget=forms.TextInput(
        attrs={'class': 'u-full-width', 'placeholder': 'Enter your todo'}))


class TodoListForm(forms.Form):
    title = forms.CharField(max_length=128)<commit_msg>Use same style for list forms.<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.12531328320802004, 'fraction_numerical': 0.015037593984962405, 'mean_word_length': 5.2421875, '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': '176604', 'n_tokens_mistral': 252, 'n_tokens_neox': 238, 'n_words': 54}