<commit_before>[tox]
minversion = 2.3.1
envlist = lint,py27,py37,py36,py35,py34,docs
skip_missing_interpreters = true

[testenv:docs]
basepython=python
changedir=docs
deps =
    -rrequirements.txt
    -rdocs/requirements-rtd.txt
commands=
    bash -c 'cd {toxinidir}/docs && make html'

[testenv]
usedevelop = True
deps =
    -rrequirements.txt
    -rrequirements-dev.txt
extras =
    cli
    opt
sitepackages=False
commands=
    bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf'
    python -m pip check
    python -m pytest {posargs}
passenv =
    CI
    CI_JIRA_*
    PIP_*
    TRAVIS
    TRAVIS_*
    XDG_CACHE_HOME
envars =
    PIP_DISABLE_PIP_VERSION_CHECK=1
    PIP_USER=no
whitelist_externals =
    bash
    find
    grep
    rm
    xargs

[testenv:lint]
commands=
    python -m pre_commit run --all
<commit_msg>build: avoid missing to install new deps<commit_after>[tox]
minversion = 2.3.1
envlist = lint,py27,py37,py36,py35,py34,docs
skip_missing_interpreters = true

[testenv:docs]
basepython=python
changedir=docs
deps =
    -rrequirements.txt
    -rdocs/requirements-rtd.txt
commands=
    bash -c 'cd {toxinidir}/docs && make html'

[testenv]
usedevelop = True
# avoid using deps= due to https://github.com/tox-dev/tox/issues/149
# hide deps from stdout https://github.com/tox-dev/tox/issues/601
list_dependencies_command=echo

extras =
    cli
    opt
sitepackages=False
commands=
    pip install -q -rrequirements.txt -rrequirements-dev.txt
    bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf'
    python -m pip check
    python -m pytest {posargs}
setenv =
    PIP_LOG={envdir}/pip.log
passenv =
    CI
    CI_JIRA_*
    PIP_*
    TRAVIS
    TRAVIS_*
    XDG_CACHE_HOME
envars =
    PIP_DISABLE_PIP_VERSION_CHECK=1
    PIP_USER=no
whitelist_externals =
    bash
    echo
    find
    grep
    rm
    xargs

[testenv:lint]
commands=
    python -m pre_commit run --all

{'fraction_non_alphanumeric': 0.10545454545454545, 'fraction_numerical': 0.017662337662337664, 'mean_word_length': 3.0632911392405062, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2661801', 'n_tokens_mistral': 797, 'n_tokens_neox': 758, 'n_words': 165}