<commit_before>[tox]
skip_missing_interpreters = True

envlist =
    py{27,34,35,36}-dj{18,19,110,111}-wt{111,112}
    isort,flake8

[testenv]
commands = python runtests.py {posargs}

deps =
    py27: enum34
    dj18: django~=1.8.0
    dj19: django~=1.9.0
    dj110: django~=1.10.0
    dj111: django~=1.11.0
    wt111: Wagtail~=1.11.0
    wt112: Wagtail~=1.12.0

[testenv:isort]
deps = isort
basepython = python3
commands = python -misort --recursive --diff --check-only --skip=migrations wagtailapproval tests

[testenv:flake8]
deps = flake8
basepython = python3
commands = python -mflake8 --ignore=E128,E125 --exclude=migrations --show-source wagtailapproval/ tests/

[testenv:docs]
whitelist_externals = make
basepython = python3
deps =
    sphinx
    django<2.0
commands = make -C docs/ SPHINXOPTS=-W html

[testenv:makemigrations]
basepython = python3
deps =
    django~=1.8.0
    Wagtail~=1.11.0
commands = python manage.py makemigrations

[testenv:push_wheel]
whitelist_externals = rm
basepython = python3
deps =
    wheel
    setuptools
    twine
commands =
    rm -r dist
    python setup.py bdist_wheel
    twine upload dist/*.whl<commit_msg>remove django 1.8 official support<commit_after>[tox]
skip_missing_interpreters = True

envlist =
    py{27,34,35,36}-dj{19,110,111}-wt{111,112}
    isort,flake8

[testenv]
commands = python runtests.py {posargs}

deps =
    py27: enum34
    dj19: django~=1.9.0
    dj110: django~=1.10.0
    dj111: django~=1.11.0
    wt111: Wagtail~=1.11.0
    wt112: Wagtail~=1.12.0

[testenv:isort]
deps = isort
basepython = python3
commands = python -misort --recursive --diff --check-only --skip=migrations wagtailapproval tests

[testenv:flake8]
deps = flake8
basepython = python3
commands = python -mflake8 --ignore=E128,E125 --exclude=migrations --show-source wagtailapproval/ tests/

[testenv:docs]
whitelist_externals = make
basepython = python3
deps =
    sphinx
    django<2.0
commands = make -C docs/ SPHINXOPTS=-W html

[testenv:makemigrations]
basepython = python3
deps =
    django~=1.9.0
    Wagtail~=1.11.0
commands = python manage.py makemigrations

[testenv:push_wheel]
whitelist_externals = rm
basepython = python3
deps =
    wheel
    setuptools
    twine
commands =
    rm -r dist
    python setup.py bdist_wheel
    twine upload dist/*.whl
{'fraction_non_alphanumeric': 0.11705831157528286, 'fraction_numerical': 0.07615317667536989, 'mean_word_length': 3.6538461538461537, 'pattern_counts': {'":': 0, '<': 5, '<?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': '149294', 'n_tokens_mistral': 1010, 'n_tokens_neox': 896, 'n_words': 193}