<commit_before># tox (https://tox.readthedocs.io/) 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]
envlist = py35, py38, py38-address, py38-spacy

[testenv]
commands =
    pip install -r requirements/python-dev
    python tests/run.py

[testenv:spacy]
extras = spacy

[testenv:address]
extras = address<commit_msg>simplify tox envs and dont expect spacy in py35<commit_after># tox (https://tox.readthedocs.io/) 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]
envlist = py35, py38

[testenv]

[testenv:py35]
extras = address,stanford
setenv =
    TRAVIS_PYTHON = 3.5
commands =
    pip install -r requirements/python-dev
    python tests/run.py

[testenv:py38]
extras =
    spacy
    address
    stanford
commands =
    pip install -r requirements/python-dev
    python -m spacy download en_core_web_sm
    python -m spacy download en_core_web_trf
    python tests/run.py
{'fraction_non_alphanumeric': 0.08443708609271523, 'fraction_numerical': 0.016556291390728478, 'mean_word_length': 3.7976190476190474, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1382034', 'n_tokens_mistral': 419, 'n_tokens_neox': 392, 'n_words': 143}