<commit_before># Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
minversion = 1.6
envlist = pep8, py{27,34,35}, pylint, pylint-py{27,34,35}
skipsdist = True

[testenv]
usedevelop = True
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
deps = -r{toxinidir}/test-requirements.txt
commands =
    py.test -vv {posargs:devops/tests}

[testenv:venv]
commands = {posargs:}

[testenv:pep8]
deps = hacking==0.10.1
usedevelop = False
commands =
    flake8

[testenv:pylint]
deps =
    -r{toxinidir}/test-requirements.txt
    pylint
commands =
    pylint --rcfile=.pylintrc_gerrit devops bin/dos.py

[testenv:pylint-py27]
deps=
    -r{toxinidir}/test-requirements.txt
    pylint
commands=pylint devops bin/dos.py

[testenv:pylint-py34]
deps=
    -r{toxinidir}/test-requirements.txt
    pylint
commands=pylint devops bin/dos.py

[testenv:pylint-py35]
deps=
    -r{toxinidir}/test-requirements.txt
    pylint
commands=pylint devops bin/dos.py

[flake8]
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools,__init__.py,docs
show-pep8 = True
show-source = True
count = True

[pytest]
DJANGO_SETTINGS_MODULE=devops.test_settings

[testenv:docs]
changedir = docs
deps =
    sphinx
commands = sphinx-build -b html -d build/doctrees source build/html
<commit_msg>Fix doc target on CI<commit_after># Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
minversion = 1.6
envlist = pep8, py{27,34,35}, pylint, pylint-py{27,34,35}
skipsdist = True

[testenv]
usedevelop = True
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
deps =
    sphinx
    -r{toxinidir}/test-requirements.txt
commands =
    py.test -vv {posargs:devops/tests}

[testenv:venv]
commands = {posargs:}

[testenv:pep8]
deps = hacking==0.10.1
usedevelop = False
commands =
    flake8

[testenv:pylint]
deps =
    -r{toxinidir}/test-requirements.txt
    pylint
commands =
    pylint --rcfile=.pylintrc_gerrit devops bin/dos.py

[testenv:pylint-py27]
deps=
    -r{toxinidir}/test-requirements.txt
    pylint
commands=pylint devops bin/dos.py

[testenv:pylint-py34]
deps=
    -r{toxinidir}/test-requirements.txt
    pylint
commands=pylint devops bin/dos.py

[testenv:pylint-py35]
deps=
    -r{toxinidir}/test-requirements.txt
    pylint
commands=pylint devops bin/dos.py

[flake8]
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools,__init__.py,docs
show-pep8 = True
show-source = True
count = True

[pytest]
DJANGO_SETTINGS_MODULE=devops.test_settings

[testenv:docs]
changedir = docs
deps =
    sphinx
commands = sphinx-build -b html -d build/doctrees source build/html

{'fraction_non_alphanumeric': 0.11804158283031523, 'fraction_numerical': 0.019450033534540577, 'mean_word_length': 4.345878136200717, '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': '1573977', 'n_tokens_mistral': 1237, 'n_tokens_neox': 1187, 'n_words': 261}