<commit_before>[tox]
envlist = py26, develop, docs, lint, coverage

[testenv]
envlogdir = /tmp/toxlogdir
envtmpdir = /tmp/toxtmpdir
commands =
    {envpython} --version
    trial --version
    trial --temp=/tmp/_trial_temp smartanthill

[testenv:develop]
usedevelop = True
deps =
    isort
    ino
    flake8

[testenv:docs]
deps =
    sphinx
    sphinx_rtd_theme
commands =
    sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
    sphinx-build -W -b latex -d {envtmpdir}/doctrees docs docs/_build/latex
    sphinx-build -W -b linkcheck docs docs/_build/html

[testenv:lint]
deps =
    flake8
    pylint<1.2
commands =<commit_msg>Disabled "link check" for docs when CI=true<commit_after>[tox]
envlist = py26, develop, docs, lint, coverage

[testenv]
envlogdir = /tmp/toxlogdir
envtmpdir = /tmp/toxtmpdir
commands =
    {envpython} --version
    trial --version
    trial --temp=/tmp/_trial_temp smartanthill

[testenv:develop]
usedevelop = True
deps =
    isort
    ino
    flake8

[testenv:docs]
deps =
    sphinx
    sphinx_rtd_theme
commands =
    sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
    sphinx-build -W -b latex -d {envtmpdir}/doctrees docs docs/_build/latex    
    /bin/bash -c "if [[ $CI != \"true\" ]]; then sphinx-build -W -b linkcheck docs docs/_build/html; fi"

[testenv:lint]
deps =
    flake8
    pylint<1.2
commands =
{'fraction_non_alphanumeric': 0.11616161616161616, 'fraction_numerical': 0.008658008658008658, 'mean_word_length': 3.103550295857988, 'pattern_counts': {'":': 0, '<': 5, '<?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': '6548454', 'n_tokens_mistral': 564, 'n_tokens_neox': 529, 'n_words': 131}