<commit_before>from pprint import pprint

from django import forms


class O2FieldModeloForm(forms.Form):
    modelo = forms.CharField(
        required=False,
        widget=forms.NumberInput(attrs={'size': 4}))


class O2FieldRefForm(forms.Form):
    ref = forms.CharField(
        label='Referência',
        required=False,
        widget=forms.TextInput(attrs={'size': 5}))

    def clean_ref(self):
        return O2BaseForm.cleanner_pad(self, 'ref', 5)


class O2FieldTamanhoForm(forms.Form):
    tamanho = forms.CharField(
        required=False,
        widget=forms.TextInput(attrs={'size': 3}))
<commit_msg>bug criado pela separação de classes<commit_after>from pprint import pprint

from django import forms

from base.forms import O2BaseForm


class O2FieldModeloForm(forms.Form):
    modelo = forms.CharField(
        required=False,
        widget=forms.NumberInput(attrs={'size': 4}))


class O2FieldRefForm(forms.Form):
    ref = forms.CharField(
        label='Referência',
        required=False,
        widget=forms.TextInput(attrs={'size': 5}))

    def clean_ref(self):
        return O2BaseForm.cleanner_pad(self, 'ref', 5)


class O2FieldTamanhoForm(forms.Form):
    tamanho = forms.CharField(
        required=False,
        widget=forms.TextInput(attrs={'size': 3}))

{'fraction_non_alphanumeric': 0.11978361669242658, 'fraction_numerical': 0.01313755795981453, 'mean_word_length': 3.527972027972028, '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': '1040889', 'n_tokens_mistral': 421, 'n_tokens_neox': 410, 'n_words': 81}