<commit_before>[tox]
envlist = py27,py34,pypy,pypy3,flake8,isort,manifest,docs,report
minversion = 1.9.0

[testenv]
commands =
    pip install durga[tests]
    coverage run -a -m pytest tests/
whitelist_externals = make

[testenv:flake8]
deps =
    flake8
commands =
    flake8 setup.py durga/ tests/

[testenv:isort]
deps =
    isort
commands =
    isort --check-only --recursive --verbose setup.py durga tests
skip_install = True

[testenv:manifest]
deps =
    check-manifest
commands =
    check-manifest

[testenv:docs]
deps =
    doc8
commands =
    pip install durga[docs]
    make docs BUILDDIR={envtmpdir} SPHINXOPTS='-W'
    make -C docs linkcheck BUILDDIR={envtmpdir}
    doc8

[testenv:report]
commands =
    coverage combine
    coverage report -m
deps =
    coverage<commit_msg>Updated and optimized tox config<commit_after>[tox]
envlist = py27,py34,pypy,pypy3,flake8,isort,manifest,docs,report
minversion = 1.9.0

[testenv]
commands =
    pip install durga[tests]
    coverage run -a -m pytest tests/
whitelist_externals = make

[testenv:flake8]
basepython = python3.4
commands =
    flake8 setup.py durga/ tests/
deps =
    flake8
skip_install = True

[testenv:isort]
basepython = python3.4
commands =
    isort --check-only --recursive --verbose setup.py durga tests
deps =
    isort
skip_install = True

[testenv:manifest]
basepython = python3.4
commands =
    check-manifest
deps =
    check-manifest
skip_install = True

[testenv:docs]
basepython = python3.4
commands =
    pip install durga[docs]
    make docs BUILDDIR={envtmpdir} SPHINXOPTS='-W'
    make -C docs linkcheck BUILDDIR={envtmpdir}
    doc8
deps =
    # TODO Replace with doc8 > 0.5.0 when released
    git+https://git.openstack.org/stackforge/doc8

[testenv:report]
basepython = python3.4
commands =
    coverage combine
    coverage report -m
deps =
    coverage
skip_install = True
{'fraction_non_alphanumeric': 0.09796573875802998, 'fraction_numerical': 0.022483940042826552, 'mean_word_length': 3.6148148148148147, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 1, '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': '2900768', 'n_tokens_mistral': 708, 'n_tokens_neox': 690, 'n_words': 166}