<commit_before>[tox]
envlist = build
minversion = 1.4
skipdist = True

[testenv]
changedir = {toxinidir}/../../proton-c/include/
setenv =
    VIRTUAL_ENV={envdir}
passenv =
    PKG_CONFIG_PATH
    CFLAGS
commands =
    pip install -e {toxinidir}
    tests/python/proton-test {posargs}

[testenv:pep8]
commands = flake8

[testenv:docs]
commands = python setup.py build_sphinx

[testenv:build]
usedevelop = False
skipdist = True
changedir = {toxinidir}
platform = linux2
skip_install = True
setenv =
    VIRTUAL_ENV={envdir}
    PKG_CONFIG_PATH=None
    QPID_PROTON_SRC={toxinidir}/../../../
    DEBUG=True
commands =
    {envbindir}/python setup.py build -b {envbindir}/build install
    {toxinidir}/../../../tests/python/proton-test {posargs}<commit_msg>PROTON-895: Let tox handle sdist and install steps (patch from <NAME>).<commit_after>[tox]
envlist = build
minversion = 1.4
skipdist = True

[testenv]
changedir = {toxinidir}/../../proton-c/include/
setenv =
    VIRTUAL_ENV={envdir}
passenv =
    PKG_CONFIG_PATH
    CFLAGS
commands =
    pip install -e {toxinidir}
    tests/python/proton-test {posargs}

[testenv:pep8]
commands = flake8

[testenv:docs]
commands = python setup.py build_sphinx

[testenv:build]
usedevelop = False
platform = linux2
setenv =
    VIRTUAL_ENV={envdir}
    PKG_CONFIG_PATH=None
    QPID_PROTON_SRC={toxinidir}/../../../
    DEBUG=True
commands =
    {toxinidir}/../../../tests/python/proton-test {posargs}
{'fraction_non_alphanumeric': 0.13759555246699096, 'fraction_numerical': 0.009034051424600417, 'mean_word_length': 3.6153846153846154, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '4870236', 'n_tokens_mistral': 564, 'n_tokens_neox': 536, 'n_words': 107}