<commit_before>[tox]
envlist = py26,py27,pep8,contrib

[testenv]
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
commands =
  python tools/patch_tox_venv.py
  python setup.py testr --slowest --testr-args='{posargs}'

[testenv:contrib]
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
commands =
  discover -s contrib/ {posargs}
  flake8 --ignore=H304,F841,H201,H302,H306,H404 contrib

[testenv:pep8]
commands =
    flake8 heat bin/heat-api bin/heat-api-cfn bin/heat-api-cloudwatch bin/heat-engine bin/heat-manage
    {toxinidir}/tools/conf/check_uptodate.sh

[testenv:venv]
commands = {posargs}

[testenv:cover]
setenv = VIRTUAL_ENV={envdir}
commands =
  python tools/patch_tox_venv.py
  python setup.py testr --coverage

[testenv:docs]<commit_msg>Disable check_uptodate.sh check in pep8<commit_after>[tox]
envlist = py26,py27,pep8,contrib

[testenv]
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
commands =
  python tools/patch_tox_venv.py
  python setup.py testr --slowest --testr-args='{posargs}'

[testenv:contrib]
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
commands =
  discover -s contrib/ {posargs}
  flake8 --ignore=H304,F841,H201,H302,H306,H404 contrib

[testenv:pep8]
commands =
    flake8 heat bin/heat-api bin/heat-api-cfn bin/heat-api-cloudwatch bin/heat-engine bin/heat-manage
    # disable check_uptodate until a resolution is found to bug #1288586
    #{toxinidir}/tools/conf/check_uptodate.sh

[testenv:venv]
commands = {posargs}

[testenv:cover]
setenv = VIRTUAL_ENV={envdir}
commands =
  python tools/patch_tox_venv.py
  python setup.py testr --coverage

[testenv:docs]
{'fraction_non_alphanumeric': 0.12877939529675253, 'fraction_numerical': 0.0335946248600224, 'mean_word_length': 4.601880877742946, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2569791', 'n_tokens_mistral': 772, 'n_tokens_neox': 702, 'n_words': 119}