<commit_before>import json
from optparse import make_option
from django.core.management import BaseCommand, CommandError
from pillowtop import get_pillow_by_name


class Command(BaseCommand):
    args = 'filename'
    help = ("Update the pillow sequence IDs based on a passed in file")
    option_list = (
        make_option('--noinput',
                    action='store_true',
                    dest='noinput',
                    default=False,
                    help="Disable interactive mode"),
    )<commit_msg>use add_arguments<commit_after>import json
from optparse import make_option
from django.core.management import BaseCommand, CommandError
from pillowtop import get_pillow_by_name


class Command(BaseCommand):
    help = ("Update the pillow sequence IDs based on a passed in file")

    def add_arguments(self, parser):
        parser.add_argument('filename')
        parser.add_argument(
            '--noinput',
            action='store_true',
            dest='noinput',
            default=False,
            help="Disable interactive mode",
        )
{'fraction_non_alphanumeric': 0.07992565055762081, 'fraction_numerical': 0.0, 'mean_word_length': 2.6140939597315436, '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': '3957001', 'n_tokens_mistral': 277, 'n_tokens_neox': 266, 'n_words': 81}