<commit_before>#!/usr/bin/env python
import sys

import logbook
import click

from ..bootstrapping import ensure_project_bootstrapped


@click.group()
@click.option("-v", "--verbose", count=True)
@click.option("-q", "--quiet", count=True)
def main(verbose, quiet):
    logbook.NullHandler().push_application()
    logbook.StreamHandler(sys.stderr, level=logbook.WARNING -
                          verbose + quiet, bubble=False).push_application()


@main.add_command
@click.command()
def bootstrap():
    ensure_project_bootstrapped()<commit_msg>fix testserver auto reload on code change<commit_after>#!/usr/bin/env python
import sys

import logbook
import click


from cob.bootstrapping import ensure_project_bootstrapped

@click.group()
@click.option("-v", "--verbose", count=True)
@click.option("-q", "--quiet", count=True)
def main(verbose, quiet):
    logbook.NullHandler().push_application()
    logbook.StreamHandler(sys.stderr, level=logbook.WARNING -
                          verbose + quiet, bubble=False).push_application()


@main.add_command
@click.command()
def bootstrap():
    ensure_project_bootstrapped()
{'fraction_non_alphanumeric': 0.13612099644128114, 'fraction_numerical': 0.0, 'mean_word_length': 4.408653846153846, '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': '3166702', 'n_tokens_mistral': 344, 'n_tokens_neox': 334, 'n_words': 71}