<commit_before>[tox]
envlist = pypy, py27, py34, py35, py36
          py27-twisted-latest, py35-twisted-latest,
          linters2, linters3, sphinx

[travis]
python =
       2.7: py27, py27-twisted-latest, linters2
       pypy: pypy
       3.4: py34
       3.5: py35, py35-twisted-latest, linters3, sphinx
       3.6: py36

[testenv]
commands =
    {envpython} setup.py --version
    pip install eliot[dev]
    {envpython} -m unittest {posargs:discover -v eliot.tests}

## No Twisted ##
[testenv:pypy]
basepython = pypy

[testenv:py27]
deps = cffi
basepython = python2.7

[testenv:py34]
basepython = python3.4
deps = cffi

[testenv:py35]
basepython = python3.5
deps = cffi

[testenv:py36]
basepython = python3.6
deps = cffi

[testenv:py27-twisted-latest]
basepython = python2.7
deps = Twisted

[testenv:py35-twisted-latest]
basepython = python3.5
deps = Twisted


# Other validation:
[testenv:linters2]
deps = pyflakes
       yapf
basepython = python2.7
commands = pyflakes eliot

[testenv:linters3]
deps = pyflakes
       yapf
       flake8
basepython = python3.5
commands = pyflakes eliot

[testenv:sphinx]
deps = sphinx
basepython = python3.5
commands =
    sphinx-build -b html docs/source/ docs/_build/html<commit_msg>Give up on Python 2 linter, since it doesn't like corotests.py.<commit_after>[tox]
envlist = pypy, py27, py34, py35, py36
          py27-twisted-latest, py35-twisted-latest,
          linters3, sphinx

[travis]
python =
       2.7: py27, py27-twisted-latest
       pypy: pypy
       3.4: py34
       3.5: py35, py35-twisted-latest, linters3, sphinx
       3.6: py36

[testenv]
commands =
    {envpython} setup.py --version
    pip install eliot[dev]
    {envpython} -m unittest {posargs:discover -v eliot.tests}

## No Twisted ##
[testenv:pypy]
basepython = pypy

[testenv:py27]
deps = cffi
basepython = python2.7

[testenv:py34]
basepython = python3.4
deps = cffi

[testenv:py35]
basepython = python3.5
deps = cffi

[testenv:py36]
basepython = python3.6
deps = cffi

[testenv:py27-twisted-latest]
basepython = python2.7
deps = Twisted

[testenv:py35-twisted-latest]
basepython = python3.5
deps = Twisted


# Other validation:
[testenv:linters3]
deps = pyflakes
       yapf
       flake8
basepython = python3.5
commands = pyflakes eliot

[testenv:sphinx]
deps = sphinx
basepython = python3.5
commands =
    sphinx-build -b html docs/source/ docs/_build/html
{'fraction_non_alphanumeric': 0.11045779084418311, 'fraction_numerical': 0.05627887442251155, 'mean_word_length': 3.346715328467153, 'pattern_counts': {'":': 0, '<': 3, '<?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': '5332872', 'n_tokens_mistral': 1017, 'n_tokens_neox': 963, 'n_words': 218}