<commit_before># -*- coding: utf-8 -*-
import logging
import sys
from os import path

from argparse import ArgumentParser



__version__ = '1.3.1'
__author__ = '<NAME>'
__license__ = 'MIT'

log = logging.getLogger(__name__)


class SuperArgParser(ArgumentParser):
    remaining_args = None
    _parser_defaults = None

    def parse_args(self, *args, **kwargs):
        if self._parser_defaults:
            self.set_defaults(**self._parser_defaults)

        if self.remaining_args:
            return super(SuperArgParser, self).parse_args(self.remaining_args)
        else:
            return super(SuperArgParser, self).parse_args(*args, **kwargs)


def get_main_parser(prog, default_config_file):
    parser = ArgumentParser(prog=prog, add_help=False)
    parser.add_argument('-c', '--config', dest='config_file',
                        help='path to the config file',
                        default=default_config_file)
    parser.add_argument('-v', '--verbose', default=0, action='count',
                        help='output more verbose')<commit_msg>Bumped version number to 1.3.2<commit_after># -*- coding: utf-8 -*-
import logging
import sys
from os import path

from argparse import ArgumentParser



__version__ = '1.3.2'
__author__ = '<NAME>'
__license__ = 'MIT'

log = logging.getLogger(__name__)


class SuperArgParser(ArgumentParser):
    remaining_args = None
    _parser_defaults = None

    def parse_args(self, *args, **kwargs):
        if self._parser_defaults:
            self.set_defaults(**self._parser_defaults)

        if self.remaining_args:
            return super(SuperArgParser, self).parse_args(self.remaining_args)
        else:
            return super(SuperArgParser, self).parse_args(*args, **kwargs)


def get_main_parser(prog, default_config_file):
    parser = ArgumentParser(prog=prog, add_help=False)
    parser.add_argument('-c', '--config', dest='config_file',
                        help='path to the config file',
                        default=default_config_file)
    parser.add_argument('-v', '--verbose', default=0, action='count',
                        help='output more verbose')
{'fraction_non_alphanumeric': 0.1150070126227209, 'fraction_numerical': 0.006077606358111267, 'mean_word_length': 2.9703153988868274, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1842566', 'n_tokens_mistral': 639, 'n_tokens_neox': 611, 'n_words': 139}