<commit_before>from invoke import run, task


@task
def test():
    run("nosetests")


@task
def bump(part):
    assert part in ('major', 'minor', 'patch')
    run("bumpversion %s" % part)


@task
def upload():
    run("python setup.py sdist upload")


@task('test')
def coverage():
    run("coverage combine")
    run("coverage html")
    run("open coverage_html_report/index.html")<commit_msg>remove nosetests invoke task because when ctrl-c it hides the traceback of tests<commit_after>from invoke import run, task


@task
def bump(part):
    assert part in ('major', 'minor', 'patch')
    run("bumpversion %s" % part)


@task
def upload():
    run("python setup.py sdist upload")


@task
def coverage():
    run("nosetests")
    run("coverage combine")
    run("coverage html")
    run("open coverage_html_report/index.html")
{'fraction_non_alphanumeric': 0.14354644149577805, 'fraction_numerical': 0.0, 'mean_word_length': 4.15527950310559, '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': '6008011', 'n_tokens_mistral': 275, 'n_tokens_neox': 264, 'n_words': 82}