<commit_before>[tox]
envlist = py26,py27,pep8

[testenv]
deps = pyutmp
       pymongo
       MySQL-python
       redis
       mock
       beanstalkc
       bernhard
       kitchen
       python-statsd
       PyYAML
       boto
       docker-py

setenv = VIRTUAL_ENV={envdir}
commands = {toxinidir}/test.py
sitepackages = False

[testenv:py24]
# Pyrabbit is 2.6+ only, so don't install it here
deps = {[testenv]deps}
       simplejson
setenv =
    PIP_INSECURE = 1

[testenv:py25]
# Pyrabbit is 2.6+ only, so don't install it here
deps = {[testenv]deps}
       simplejson
setenv =
    PIP_INSECURE = 1

[testenv:py26]
deps = {[testenv]deps}
       pyrabbit

[testenv:py27]
deps = {[testenv]deps}
       pyrabbit

[testenv:pep8]
deps = pep8==1.4.6
commands = pep8 --config=.pep8 src bin/diamond bin/diamond-setup build_doc.py setup.py test.py

[testenv:pyflakes]
deps = pyflakes==0.8.1
commands = pyflakes src bin/diamond bin/diamond-setup build_doc.py setup.py test.py

[testenv:venv]
commands = {posargs}<commit_msg>Upgrade pep8 to 1.62 to avoid incorrect E126 errors<commit_after>[tox]
envlist = py26,py27,pep8

[testenv]
deps = pyutmp
       pymongo
       MySQL-python
       redis
       mock
       beanstalkc
       bernhard
       kitchen
       python-statsd
       PyYAML
       boto
       docker-py

setenv = VIRTUAL_ENV={envdir}
commands = {toxinidir}/test.py
sitepackages = False

[testenv:py24]
# Pyrabbit is 2.6+ only, so don't install it here
deps = {[testenv]deps}
       simplejson
setenv =
    PIP_INSECURE = 1

[testenv:py25]
# Pyrabbit is 2.6+ only, so don't install it here
deps = {[testenv]deps}
       simplejson
setenv =
    PIP_INSECURE = 1

[testenv:py26]
deps = {[testenv]deps}
       pyrabbit

[testenv:py27]
deps = {[testenv]deps}
       pyrabbit

[testenv:pep8]
deps = pep8==1.6.2
commands = pep8 --config=.pep8 src bin/diamond bin/diamond-setup build_doc.py setup.py test.py

[testenv:pyflakes]
deps = pyflakes==0.8.1
commands = pyflakes src bin/diamond bin/diamond-setup build_doc.py setup.py test.py

[testenv:venv]
commands = {posargs}
{'fraction_non_alphanumeric': 0.1067632850241546, 'fraction_numerical': 0.03140096618357488, 'mean_word_length': 2.967432950191571, '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': '2023979', 'n_tokens_mistral': 891, 'n_tokens_neox': 823, 'n_words': 185}