<commit_before>[tox]
envlist = py33-dev,py27-dev,py33-1.6,py27-1.6,py26-1.6,py33-1.5,py27-1.5,py26-1.5,docs

[testenv]
setenv =
    PYTHONPATH = {toxinidir}:{toxinidir}/tests
commands =
    {envbindir}/django-admin.py test core --settings=settings_core
    {envbindir}/django-admin.py test basic --settings=settings_basic
    {envbindir}/django-admin.py test complex --settings=settings_complex
    {envbindir}/django-admin.py test alphanumeric --settings=settings_alphanumeric
    {envbindir}/django-admin.py test slashless --settings=settings_slashless
    {envbindir}/django-admin.py test namespaced --settings=settings_namespaced
    {envbindir}/django-admin.py test related_resource --settings=settings_related
    {envbindir}/django-admin.py test validation --settings=settings_validation
    {envbindir}/django-admin.py test content_gfk --settings=settings_content_gfk

deps-py2 =
    -r{toxinidir}/tests/requirements.txt
    python-digest
    django-oauth-plus
    oauth2

deps-py3 =
    -r{toxinidir}/tests/requirements.txt
    python3-digest>=1.8b4

[testenv:py33-dev]
basepython = python3.3
deps =
    {[testenv]deps-py3}
    https://github.com/django/django/zipball/master
commands =
    {envbindir}/django-admin.py test core.tests --settings=settings_core
    {envbindir}/django-admin.py test basic.tests --settings=settings_basic
    {envbindir}/django-admin.py test complex.tests --settings=settings_complex
    {envbindir}/django-admin.py test alphanumeric.tests --settings=settings_alphanumeric
    {envbindir}/django-admin.py test slashless.tests --settings=settings_slashless
    {envbindir}/django-admin.py test namespaced.tests --settings=settings_namespaced
    {envbindir}/django-admin.py test related_resource.tests --settings=settings_related
    {envbindir}/django-admin.py test validation.tests --settings=settings_validation
    {envbindir}/django-admin.py test content_gfk.tests --settings=settings_content_gfk

[testenv:py33-1.6]
basepython = python3.3
deps =
    {[testenv]deps-py3}
    django==1.6.2

[testenv:py33-1.5]
basepython = python3.3
deps =
    {[testenv]deps-py3}
    django==1.5.5

[testenv:py27-dev]
basepython = python2.7
deps =
    {[testenv]deps-py2}
    https://github.com/django/django/zipball/master
commands =
    {envbindir}/django-admin.py test core.tests --settings=settings_core
    {envbindir}/django-admin.py test basic.tests --settings=settings_basic
    {envbindir}/django-admin.py test complex.tests --settings=settings_complex
    {envbindir}/django-admin.py test alphanumeric.tests --settings=settings_alphanumeric
    {envbindir}/django-admin.py test slashless.tests --settings=settings_slashless
    {envbindir}/django-admin.py test namespaced.tests --settings=settings_namespaced
    {envbindir}/django-admin.py test related_resource.tests --settings=settings_related
    {envbindir}/django-admin.py test validation.tests --settings=settings_validation
    {envbindir}/django-admin.py test content_gfk.tests --settings=settings_content_gfk

[testenv:py27-1.6]
basepython = python2.7
deps =
    {[testenv]deps-py2}
    django==1.6.2

[testenv:py27-1.5]
basepython = python2.7
deps =
    {[testenv]deps-py2}
    django==1.5.5

[testenv:py26-1.6]
basepython = python2.6
deps =
    {[testenv]deps-py2}
    django==1.6.2

[testenv:py26-1.5]
basepython = python2.6
deps =
    {[testenv]deps-py2}
    django==1.5.5

[testenv:docs]
sitepackages = True
whitelist_externals = sphinx-build
changedir = docs
commands =
    sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
<commit_msg>Fixed run test command for Django versions 1.6+.<commit_after>[tox]
envlist = py33-dev,py27-dev,py33-1.6,py27-1.6,py26-1.6,py33-1.5,py27-1.5,py26-1.5,docs

[testenv]
setenv =
    PYTHONPATH = {toxinidir}:{toxinidir}/tests
commands =
    {envbindir}/django-admin.py test -p '*' core.tests --settings=settings_core
    {envbindir}/django-admin.py test basic.tests --settings=settings_basic
    {envbindir}/django-admin.py test complex.tests --settings=settings_complex
    {envbindir}/django-admin.py test alphanumeric.tests --settings=settings_alphanumeric
    {envbindir}/django-admin.py test slashless.tests --settings=settings_slashless
    {envbindir}/django-admin.py test namespaced.tests --settings=settings_namespaced
    {envbindir}/django-admin.py test related_resource.tests --settings=settings_related
    {envbindir}/django-admin.py test validation.tests --settings=settings_validation
    {envbindir}/django-admin.py test content_gfk.tests --settings=settings_content_gfk

deps-py2 =
    -r{toxinidir}/tests/requirements.txt
    python-digest
    django-oauth-plus
    oauth2

deps-py3 =
    -r{toxinidir}/tests/requirements.txt
    python3-digest>=1.8b4

[testenv:py33-dev]
basepython = python3.3
deps =
    {[testenv]deps-py3}
    https://github.com/django/django/zipball/master

[testenv:py33-1.6]
basepython = python3.3
deps =
    {[testenv]deps-py3}
    django==1.6.2

[testenv:py33-1.5]
basepython = python3.3
deps =
    {[testenv]deps-py3}
    django==1.5.5
commands =
    {envbindir}/django-admin.py test core --settings=settings_core
    {envbindir}/django-admin.py test basic --settings=settings_basic
    {envbindir}/django-admin.py test complex --settings=settings_complex
    {envbindir}/django-admin.py test alphanumeric --settings=settings_alphanumeric
    {envbindir}/django-admin.py test slashless --settings=settings_slashless
    {envbindir}/django-admin.py test namespaced --settings=settings_namespaced
    {envbindir}/django-admin.py test related_resource --settings=settings_related
    {envbindir}/django-admin.py test validation --settings=settings_validation
    {envbindir}/django-admin.py test content_gfk --settings=settings_content_gfk

[testenv:py27-dev]
basepython = python2.7
deps =
    {[testenv]deps-py2}
    https://github.com/django/django/zipball/master

[testenv:py27-1.6]
basepython = python2.7
deps =
    {[testenv]deps-py2}
    django==1.6.2

[testenv:py27-1.5]
basepython = python2.7
deps =
    {[testenv]deps-py2}
    django==1.5.5
commands =
    {envbindir}/django-admin.py test core --settings=settings_core
    {envbindir}/django-admin.py test basic --settings=settings_basic
    {envbindir}/django-admin.py test complex --settings=settings_complex
    {envbindir}/django-admin.py test alphanumeric --settings=settings_alphanumeric
    {envbindir}/django-admin.py test slashless --settings=settings_slashless
    {envbindir}/django-admin.py test namespaced --settings=settings_namespaced
    {envbindir}/django-admin.py test related_resource --settings=settings_related
    {envbindir}/django-admin.py test validation --settings=settings_validation
    {envbindir}/django-admin.py test content_gfk --settings=settings_content_gfk

[testenv:py26-1.6]
basepython = python2.6
deps =
    {[testenv]deps-py2}
    django==1.6.2

[testenv:py26-1.5]
basepython = python2.6
deps =
    {[testenv]deps-py2}
    django==1.5.5
commands =
    {envbindir}/django-admin.py test core --settings=settings_core
    {envbindir}/django-admin.py test basic --settings=settings_basic
    {envbindir}/django-admin.py test complex --settings=settings_complex
    {envbindir}/django-admin.py test alphanumeric --settings=settings_alphanumeric
    {envbindir}/django-admin.py test slashless --settings=settings_slashless
    {envbindir}/django-admin.py test namespaced --settings=settings_namespaced
    {envbindir}/django-admin.py test related_resource --settings=settings_related
    {envbindir}/django-admin.py test validation --settings=settings_validation
    {envbindir}/django-admin.py test content_gfk --settings=settings_content_gfk

[testenv:docs]
sitepackages = True
whitelist_externals = sphinx-build
changedir = docs
commands =
    sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html

{'fraction_non_alphanumeric': 0.1268111296320041, 'fraction_numerical': 0.02718297217591999, 'mean_word_length': 4.252525252525253, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 4, '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': '4677105', 'n_tokens_mistral': 2804, 'n_tokens_neox': 2711, 'n_words': 423}