<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]
envlist = lint, py27, py34, py35, py36, py37, pypy

[testenv]
passenv = *
usedevelop = True
commands = nosetests --with-coverage --cover-package=premailer
extras =
    test
install_command =
  pip install {opts} {packages}
deps =
    coverage

[testenv:lint]
extras = dev
commands=therapist run --use-tracked-files

[testenv:pypy]
# pypy can't be built with >3.4.4 so, in tox we pin back to the last
# known good version of lxml
deps =
    setuptools
    nose
    mock
    cssselect
    cssutils
    lxml==3.4.4
    coverage<commit_msg>Updated lxml version for py34 environment in tox.ini (#233)<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]
envlist = lint, py27, py34, py35, py36, py37, pypy

[testenv]
passenv = *
usedevelop = True
commands = nosetests --with-coverage --cover-package=premailer
extras =
    test
install_command =
  pip install {opts} {packages}
deps =
    coverage

[testenv:lint]
extras = dev
commands=therapist run --use-tracked-files

[testenv:pypy]
# pypy can't be built with >3.4.4 so, in tox we pin back to the last
# known good version of lxml
deps =
    setuptools
    nose
    mock
    cssselect
    cssutils
    lxml==3.4.4
    coverage

[testenv:py34] 
deps = 
    lxml<=4.3.5
{'fraction_non_alphanumeric': 0.0972139893301719, 'fraction_numerical': 0.024896265560165973, 'mean_word_length': 3.477453580901857, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '6823693', 'n_tokens_mistral': 620, 'n_tokens_neox': 589, 'n_words': 208}