<commit_before>[tox]
envlist = cp{26,27,33,34,35},pypy,pypy3

[testenv]
recreate = True
passenv =
    SHOW_TEST_ENV
    PYTHONUNBUFFERED
    LANG
    LOCALE_ARCHIVE
deps = -rbuild-requirements.txt
basepython =
    cp26: {env:TOXPY27:python2.6}
    cp27: {env:TOXPY27:python2.7}
    cp33: {env:TOXPY33:python3.3}
    cp34: {env:TOXPY34:python3.4}
    cp35: {env:TOXPY35:python3.5}
    cp36: {env:TOXPY36:python3.6}
    cp37: {env:TOXPY37:python3.7}
    pypy: {env:TOXPYPY:pypy}
    pypy3: {env:TOXPYPY3:pypy3}

commands =
    pip install -r test_requirements.txt
    pip --version
    coverage run --branch -m unittest discover -v -t . haas
    python -m haas haas<commit_msg>better name for ther pypy tox environments<commit_after>[tox]
envlist = cp{26,27,33,34,35},pp{2,3}

[testenv]
recreate = True
passenv =
    SHOW_TEST_ENV
    PYTHONUNBUFFERED
    LANG
    LOCALE_ARCHIVE
deps = -rbuild-requirements.txt
basepython =
    cp26: {env:TOXPY27:python2.6}
    cp27: {env:TOXPY27:python2.7}
    cp33: {env:TOXPY33:python3.3}
    cp34: {env:TOXPY34:python3.4}
    cp35: {env:TOXPY35:python3.5}
    cp36: {env:TOXPY36:python3.6}
    cp37: {env:TOXPY37:python3.7}
    pp2: {env:TOXPYPY:pypy}
    pp3: {env:TOXPYPY3:pypy3}

commands =
    pip install -r test_requirements.txt
    pip --version
    coverage run --branch -m unittest discover -v -t . haas
    python -m haas haas
{'fraction_non_alphanumeric': 0.1281864530225783, 'fraction_numerical': 0.08302986161689731, 'mean_word_length': 3.504918032786885, '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': '1472429', 'n_tokens_mistral': 662, 'n_tokens_neox': 614, 'n_words': 109}