<commit_before>[tox]
envlist = py27, py34, coverage, doc

[testenv]
passenv = http_proxy https_proxy
deps =
    -rrequirements.dev.txt
changedir = {envtmpdir}
commands =
    {envpython} -c "import topology; print(topology.__file__)"
    flake8 {toxinidir}
    py.test \
        {posargs:--topology-platform debug} \
        {toxinidir}/test \
        {envsitepackagesdir}/topology

[testenv:coverage]
basepython = python3.4
commands =
    py.test \
        --junitxml=tests.xml \
        --cov=topology \
        --cov-report xml \
        --cov-report html \
        --cov-report term \
        --topology-nml-dir topologies \
        --topology-plot-dir topologies \
        --topology-plot-format svg \
        --cov-config={toxinidir}/.coveragerc \
        {posargs:--topology-platform debug} \
        {toxinidir}/test {envsitepackagesdir}/topology

[testenv:doc]
basepython = python3.4
whitelist_externals =
    dot
commands =
    sphinx-build -W -b html -d doctrees {toxinidir}/doc/ html

[flake8]
exclude = .git,.tox,.cache,__pycache__,*.egg-info

[pytest]
addopts = --doctest-modules<commit_msg>chg: dev: Crazy stuffs grouping highly cohesive options...<commit_after>[tox]
envlist = py27, py34, coverage, doc

[testenv]
passenv = http_proxy https_proxy
deps =
    -rrequirements.dev.txt
changedir = {envtmpdir}
commands =
    {envpython} -c "import topology; print(topology.__file__)"
    flake8 {toxinidir}
    py.test \
        {posargs:--topology-platform debug} \
        {toxinidir}/test \
        {envsitepackagesdir}/topology

[testenv:coverage]
basepython = python3.4
commands =
    py.test \
        --junitxml=tests.xml \
        --cov=topology \
        --cov-report xml \
        --cov-report html \
        --cov-report term \
        --cov-config={toxinidir}/.coveragerc \
        --topology-nml-dir topologies \
        --topology-plot-dir topologies \
        --topology-plot-format svg \
        {posargs:--topology-platform debug} \
        {toxinidir}/test {envsitepackagesdir}/topology

[testenv:doc]
basepython = python3.4
whitelist_externals =
    dot
commands =
    sphinx-build -W -b html -d doctrees {toxinidir}/doc/ html

[flake8]
exclude = .git,.tox,.cache,__pycache__,*.egg-info

[pytest]
addopts = --doctest-modules
{'fraction_non_alphanumeric': 0.13271193963604083, 'fraction_numerical': 0.00887705281846427, 'mean_word_length': 2.473035439137134, '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': '6896470', 'n_tokens_mistral': 816, 'n_tokens_neox': 794, 'n_words': 148}