<commit_before>[tox]
envlist = py27, py36, py35, py34, pypy, pypy3, py36dev, py37dev
recreate = False

[testenv]
setenv =
    PYLAST_USERNAME={env:PYLAST_USERNAME:}
    PYLAST_PASSWORD_HASH={env:PYLAST_PASSWORD_HASH:}
    PYLAST_API_KEY={env:PYLAST_API_KEY:}
    PYLAST_API_SECRET={env:PYLAST_API_SECRET:}
deps =
    # Workaround for yaml/pyyaml#126
     py27,py36,py35,py34,pypy,pypy3,py36dev: pyyaml
     py37dev: git+https://github.com/yaml/pyyaml@master#egg=pyyaml
     pytest
     mock
     ipdb
     pytest-cov
     flaky
commands = pytest -v -s -W all --cov pylast --cov-report term-missing {posargs}

[testenv:venv]
deps = ipdb
commands = {posargs}

[testenv:lint]
deps =
     flake8
commands =
    flake8 .

[testenv:py2lint]
deps =
    {[testenv:lint]deps}
     clonedigger
commands =
    {[testenv:lint]commands}
    ./clonedigger.sh

[testenv:py3lint]
deps =
    {[testenv:lint]deps}
commands =
    {[testenv:lint]commands}<commit_msg>Four-space indents<commit_after>[tox]
envlist = py27, py36, py35, py34, pypy, pypy3, py36dev, py37dev
recreate = False

[testenv]
setenv =
    PYLAST_USERNAME={env:PYLAST_USERNAME:}
    PYLAST_PASSWORD_HASH={env:PYLAST_PASSWORD_HASH:}
    PYLAST_API_KEY={env:PYLAST_API_KEY:}
    PYLAST_API_SECRET={env:PYLAST_API_SECRET:}
deps =
    # Workaround for yaml/pyyaml#126
    py27,py36,py35,py34,pypy,pypy3,py36dev: pyyaml
    py37dev: git+https://github.com/yaml/pyyaml@master#egg=pyyaml
    pytest
    mock
    ipdb
    pytest-cov
    flaky
commands = pytest -v -s -W all --cov pylast --cov-report term-missing {posargs}

[testenv:venv]
deps = ipdb
commands = {posargs}

[testenv:lint]
deps =
    flake8
commands =
    flake8 .

[testenv:py2lint]
deps =
    {[testenv:lint]deps}
    clonedigger
commands =
    {[testenv:lint]commands}
    ./clonedigger.sh

[testenv:py3lint]
deps =
    {[testenv:lint]deps}
commands =
    {[testenv:lint]commands}
{'fraction_non_alphanumeric': 0.1253968253968254, 'fraction_numerical': 0.03492063492063492, 'mean_word_length': 4.002645502645502, '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': '268324', 'n_tokens_mistral': 840, 'n_tokens_neox': 797, 'n_words': 128}