<commit_before>[tox]
envlist = {py27,py34,py35,py36}-dj111,
          {py27,py35}-migrations,
          docs,
          flake8,
          coverage

[default]
deps = pip>9
       -r{toxinidir}/tests/requirements/dev.txt

[testenv]
basepython =
     py27: python2.7
     py34: python3.4
     py35: python3.5
     py36: python3.6
deps =
    dj111: Django>=1.11,<2.0
    dj20: Django>=2.0,<2.1
    {[default]deps}
setenv = PYTHON_PATH = {toxinidir}
         DJANGO_SETTINGS_MODULE = tests.default
commands = {envpython} -Wd run_tests.py {posargs}

[testenv:py27-migrations]
basepython = python2.7
deps = Django>=1.11,<2.0
       {[default]deps}
setenv = {[testenv]setenv}
commands = {toxinidir}/check_for_missing_migrations.sh

[testenv:py35-migrations]
basepython = python3.5
deps = Django>=1.11,<2.0
       {[default]deps}
setenv = {[testenv]setenv}
commands = {toxinidir}/check_for_missing_migrations.sh

[testenv:docs]
basepython = python2.7
deps = Sphinx>=1.3,<1.4
       Django>=1.11,<2.0
       {[default]deps}
commands =
    {envbindir}/sphinx-build -a -n -W -b html -d docs/_build/doctrees docs docs/_build/html

[testenv:flake8]
basepython = python3.5
deps = flake8
commands = flake8 rapidsms

[testenv:coverage]
basepython = python3.5
commands = coverage run run_tests.py
           coverage report -m --fail-under=85
deps = coverage
       Django>=1.11,<2.0
       {[default]deps}
<commit_msg>Ignore 3.6 for now because Travis is a pain<commit_after>[tox]
envlist = {py27,py34,py35}-dj111,
          {py27,py35}-migrations,
          docs,
          flake8,
          coverage

[default]
deps = pip>9
       -r{toxinidir}/tests/requirements/dev.txt

[testenv]
basepython =
     py27: python2.7
     py34: python3.4
     py35: python3.5
deps =
    dj111: Django>=1.11,<2.0
    dj20: Django>=2.0,<2.1
    {[default]deps}
setenv = PYTHON_PATH = {toxinidir}
         DJANGO_SETTINGS_MODULE = tests.default
commands = {envpython} -Wd run_tests.py {posargs}

[testenv:py27-migrations]
basepython = python2.7
deps = Django>=1.11,<2.0
       {[default]deps}
setenv = {[testenv]setenv}
commands = {toxinidir}/check_for_missing_migrations.sh

[testenv:py35-migrations]
basepython = python3.5
deps = Django>=1.11,<2.0
       {[default]deps}
setenv = {[testenv]setenv}
commands = {toxinidir}/check_for_missing_migrations.sh

[testenv:docs]
basepython = python2.7
deps = Sphinx>=1.3,<1.4
       Django>=1.11,<2.0
       {[default]deps}
commands =
    {envbindir}/sphinx-build -a -n -W -b html -d docs/_build/doctrees docs docs/_build/html

[testenv:flake8]
basepython = python3.5
deps = flake8
commands = flake8 rapidsms

[testenv:coverage]
basepython = python3.5
commands = coverage run run_tests.py
           coverage report -m --fail-under=85
deps = coverage
       Django>=1.11,<2.0
       {[default]deps}

{'fraction_non_alphanumeric': 0.1375623663578047, 'fraction_numerical': 0.06272273699215966, 'mean_word_length': 3.2401812688821754, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 19, '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': '6968381', 'n_tokens_mistral': 1211, 'n_tokens_neox': 1136, 'n_words': 202}