<commit_before>; a generative tox configuration, see: https://testrun.org/tox/latest/config.html#generative-envlist

[tox]
envlist =
    check,
    {2.6,2.7,3.3,3.4,pypy}-{37,40},
    docs

[testenv]
basepython =
    pypy: pypy
    2.6: python2.6
    {2.7,docs}: python2.7
    3.3: python3.3
    3.4: python3.4
    {clean,check,report,extension-coveralls,coveralls}: python3.4
setenv =
    PYTHONPATH={toxinidir}/tests
    PYTHONUNBUFFERED=yes
passenv =
    *
deps =
    pytest==2.7.1
    pytest-capturelog
    37: coverage==3.7.1
    40: coverage==4.0a5
    virtualenv
    pytest-xdist==1.12
    pytest-cache==1.0.0
pip_pre = true

commands =
    {posargs:py.test -vv}
usedevelop = false

[testenv:spell]
setenv =
    SPELLCHECK=1
commands =
    sphinx-build -b spelling docs dist/docs
usedevelop = true
deps =
    -r{toxinidir}/docs/requirements.txt
    sphinxcontrib-spelling
    pyenchant

[testenv:docs]
whitelist_externals =
    rm
commands =<commit_msg>Use new 4.0 release.<commit_after>; a generative tox configuration, see: https://testrun.org/tox/latest/config.html#generative-envlist

[tox]
envlist =
    check,
    {2.6,2.7,3.3,3.4,pypy}-{37,40},
    docs

[testenv]
basepython =
    pypy: pypy
    2.6: python2.6
    {2.7,docs}: python2.7
    3.3: python3.3
    3.4: python3.4
    {clean,check,report,extension-coveralls,coveralls}: python3.4
setenv =
    PYTHONPATH={toxinidir}/tests
    PYTHONUNBUFFERED=yes
passenv =
    *
deps =
    pytest==2.7.1
    pytest-capturelog
    37: coverage==3.7.1
    40: coverage==4.0a6
    virtualenv
    pytest-xdist==1.12
    pytest-cache==1.0.0
pip_pre = true

commands =
    {posargs:py.test -vv}
usedevelop = false

[testenv:spell]
setenv =
    SPELLCHECK=1
commands =
    sphinx-build -b spelling docs dist/docs
usedevelop = true
deps =
    -r{toxinidir}/docs/requirements.txt
    sphinxcontrib-spelling
    pyenchant

[testenv:docs]
whitelist_externals =
    rm
commands =
{'fraction_non_alphanumeric': 0.131811105345096, 'fraction_numerical': 0.052932018681888945, 'mean_word_length': 3.067510548523207, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '4503964', 'n_tokens_mistral': 827, 'n_tokens_neox': 799, 'n_words': 135}