<commit_before>[tox]
minversion = 1.6
envlist = pep8,py27,py27dj14,py27dj15,py27dj16,py27dj18
skipsdist = True

[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
   VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
commands = /bin/bash run_tests.sh -N --no-pep8 {posargs}

[testenv:py27]
setenv = DJANGO_SETTINGS_MODULE=senlin_dashboard.test.settings

[testenv:pep8]
commands = flake8

[testenv:venv]
commands = {posargs}

[testenv:py27dj14]
basepython = python2.7
commands = pip install django>=1.4,<1.5
           /bin/bash run_tests.sh -N --no-pep8 {posargs}

[testenv:py27dj15]
basepython = python2.7
commands = pip install django>=1.5,<1.6
           /bin/bash run_tests.sh -N --no-pep8 {posargs}

[testenv:py27dj16]
basepython = python2.7
commands = pip install django>=1.6,<1.7
           /bin/bash run_tests.sh -N --no-pep8 {posargs}

# Django-1.8 is LTS
[testenv:py27dj18]
basepython = python2.7<commit_msg>Remove django<1.8 from tests<commit_after>[tox]
minversion = 1.6
envlist = pep8,py27,py27dj18
skipsdist = True

[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
   VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
commands = /bin/bash run_tests.sh -N --no-pep8 {posargs}

[testenv:py27]
setenv = DJANGO_SETTINGS_MODULE=senlin_dashboard.test.settings

[testenv:pep8]
commands = flake8

[testenv:venv]
commands = {posargs}

# Django-1.8 is LTS
[testenv:py27dj18]
basepython = python2.7
{'fraction_non_alphanumeric': 0.13291139240506328, 'fraction_numerical': 0.05759493670886076, 'mean_word_length': 4.395904436860068, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 6, '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': '385428', 'n_tokens_mistral': 701, 'n_tokens_neox': 651, 'n_words': 122}