<commit_before>[tox]
envlist = py26, py27, py33, py34, pep8, pyflakes, full, doc

[testenv]
deps = -r{toxinidir}/test-requirements.txt
commands = py.test \
    --doctest-modules \
    --cov-report term-missing \
    --cov zpmlib \
    zpmlib
    cram zpmlib

[testenv:pep8]
deps = pep8
commands = pep8 zpm setup.py zpmlib

[testenv:pyflakes]
deps = pyflakes
commands = pyflakes zpm setup.py zpmlib

[testenv:full]
commands = py.test \
    --doctest-modules \
    --junit-xml junit.xml \
    --cov-report html \
    --cov-report xml \
    --cov zpmlib \
    zpmlib

[testenv:doc]
basepython = python
changedir = doc
deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build {posargs} -d _build/doctrees . _build/html
setenv =<commit_msg>tox: remove unnecessary basepython from doc env<commit_after>[tox]
envlist = py26, py27, py33, py34, pep8, pyflakes, full, doc

[testenv]
deps = -r{toxinidir}/test-requirements.txt
commands = py.test \
    --doctest-modules \
    --cov-report term-missing \
    --cov zpmlib \
    zpmlib
    cram zpmlib

[testenv:pep8]
deps = pep8
commands = pep8 zpm setup.py zpmlib

[testenv:pyflakes]
deps = pyflakes
commands = pyflakes zpm setup.py zpmlib

[testenv:full]
commands = py.test \
    --doctest-modules \
    --junit-xml junit.xml \
    --cov-report html \
    --cov-report xml \
    --cov zpmlib \
    zpmlib

[testenv:doc]
changedir = doc
deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build {posargs} -d _build/doctrees . _build/html
setenv =
{'fraction_non_alphanumeric': 0.1278295605858855, 'fraction_numerical': 0.015978695073235686, 'mean_word_length': 2.9345549738219896, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '1603584', 'n_tokens_mistral': 631, 'n_tokens_neox': 611, 'n_words': 136}