<commit_before># Config file for tox
[tox]
envlist =
    py27-numpy1.16,
    py36-numpy{1.16,1.17,1.18,1.19},
    py37-numpy{1.16,1.17,1.18,1.19,1.20,1.21},
    py38-numpy{1.17,1.18,1.19,1.20,1.21,1.22},
    py39-numpy{1.19,1.20,1.21,1.22},
    docs

# matrix of test environments
[testenv]
deps =
    numpy1.16: numpy >= 1.16.0, < 1.17.0
    numpy1.17: numpy >= 1.17.0, < 1.18.0
    numpy1.18: numpy >= 1.18.0, < 1.19.0
    numpy1.19: numpy >= 1.19.0, < 1.20.0
    numpy1.20: numpy >= 1.20.0, < 1.21.0
    numpy1.21: numpy >= 1.21.0, < 1.22.0
    numpy1.22: numpy >= 1.22.0, < 1.23.0
commands = python -m unittest tests

# Test html build and doctests
[testenv:docs]
basepython = python3.8
platform = linux
changedir = docs
deps =
    sphinx
    sphinx_rtd_theme
    numpy >= 1.19.0, < 1.20.0
commands=
    sphinx-build -W -n -b html -d {envtmpdir}/doctrees .  {envtmpdir}/html
    sphinx-build -W -n -b doctest -d {envtmpdir}/doctrees .  {envtmpdir}/doctest<commit_msg>Revert to generic Python 3 for docs build<commit_after># Config file for tox
[tox]
envlist =
    py27-numpy1.16,
    py36-numpy{1.16,1.17,1.18,1.19},
    py37-numpy{1.16,1.17,1.18,1.19,1.20,1.21},
    py38-numpy{1.17,1.18,1.19,1.20,1.21,1.22},
    py39-numpy{1.19,1.20,1.21,1.22},
    docs

# matrix of test environments
[testenv]
deps =
    numpy1.16: numpy >= 1.16.0, < 1.17.0
    numpy1.17: numpy >= 1.17.0, < 1.18.0
    numpy1.18: numpy >= 1.18.0, < 1.19.0
    numpy1.19: numpy >= 1.19.0, < 1.20.0
    numpy1.20: numpy >= 1.20.0, < 1.21.0
    numpy1.21: numpy >= 1.21.0, < 1.22.0
    numpy1.22: numpy >= 1.22.0, < 1.23.0
commands = python -m unittest tests

# Test html build and doctests
[testenv:docs]
basepython = python3
platform = linux
changedir = docs
deps =
    sphinx
    sphinx_rtd_theme
    numpy >= 1.19.0, < 1.20.0
commands=
    sphinx-build -W -n -b html -d {envtmpdir}/doctrees .  {envtmpdir}/html
    sphinx-build -W -n -b doctest -d {envtmpdir}/doctrees .  {envtmpdir}/doctest
{'fraction_non_alphanumeric': 0.18241869918699186, 'fraction_numerical': 0.16260162601626016, 'mean_word_length': 2.573502722323049, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '1702882', 'n_tokens_mistral': 1068, 'n_tokens_neox': 937, 'n_words': 180}