<commit_before>[tox]
envlist=py27,ansible1,py35,flake8,pylint,sphinxdoc

[testenv]
deps=
    -rtest-requirements.txt
    ansible>=2.4,<3
commands=
    py.test {posargs:-v -n 4 --cov testinfra --cov-report xml --cov-report term test}
usedevelop=True
passenv=HOME TRAVIS DOCKER_CERT_PATH DOCKER_HOST DOCKER_TLS_VERIFY

[testenv:ansible1]
basepython=python2.7
deps=
    -rtest-requirements.txt
    ansible>=1,<2
commands=
    py.test {posargs:-v -k ansible test}
usedevelop=True
passenv=HOME TRAVIS

[testenv:flake8]
basepython=python3
deps=hacking
commands=flake8 {posargs:testinfra test}

[testenv:pylint]
basepython=python3
deps=
    pylint
    -rtest-requirements.txt
commands=pylint {posargs:testinfra}

[testenv:sphinxdoc]
deps=-rdev-requirements.txt
commands=sphinx-build -W -b html doc/source doc/build<commit_msg>Allow to run the test suite on remote docker hosts<commit_after>[tox]
envlist=py27,ansible1,py35,flake8,pylint,sphinxdoc

[testenv]
deps=
    -rtest-requirements.txt
    ansible>=2.4,<3
commands=
    py.test {posargs:-v -n 4 --cov testinfra --cov-report xml --cov-report term test}
usedevelop=True
passenv=HOME TRAVIS DOCKER_CERT_PATH DOCKER_HOST DOCKER_TLS_VERIFY

[testenv:ansible1]
basepython=python2.7
deps=
    -rtest-requirements.txt
    ansible>=1,<2
commands=
    py.test {posargs:-v -k ansible test}
usedevelop=True
passenv=HOME TRAVIS DOCKER_CERT_PATH DOCKER_HOST DOCKER_TLS_VERIFY

[testenv:flake8]
basepython=python3
deps=hacking
commands=flake8 {posargs:testinfra test}

[testenv:pylint]
basepython=python3
deps=
    pylint
    -rtest-requirements.txt
commands=pylint {posargs:testinfra}

[testenv:sphinxdoc]
deps=-rdev-requirements.txt
commands=sphinx-build -W -b html doc/source doc/build
{'fraction_non_alphanumeric': 0.11033681765389082, 'fraction_numerical': 0.022067363530778164, 'mean_word_length': 5.405204460966543, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '2900767', 'n_tokens_mistral': 706, 'n_tokens_neox': 692, 'n_words': 129}