<commit_before>[tox]
envlist = pep8,isort,docs,py{35,34,27}-django{19}-{cms33,cms32,knocker},py{35,34,33,27}-django{18}-cms{33,32}

[testenv]
commands = {env:COMMAND:python} cms_helper.py test djangocms_blog
deps =
    django18: Django>=1.8,<1.9
    django18: django-mptt>=0.8
    django18: django-filer<1.3
    django18: cmsplugin-filer<1.2
    django18: django-haystack
    django19: Django>=1.9,<1.10
    django19: django-mptt>=0.8
    django19: django-filer<1.3
    django19: cmsplugin-filer<1.2
    cms32: https://github.com/divio/django-cms/archive/release/3.2.x.zip
    cms32: djangocms-text-ckeditor<3.0
    cms33: https://github.com/divio/django-cms/archive/release/3.3.x.zip
    cms33: djangocms-text-ckeditor>=3.0
    knocker: https://github.com/divio/django-cms/archive/release/3.2.x.zip
    knocker: channels>=0.15
    knocker: https://github.com/nephila/django-knocker/archive/master.zip?0.1.1
    knocker: djangocms-text-ckeditor<3.0
    django-meta>=1.2
    https://github.com/nephila/djangocms-helper/archive/develop.zip
    https://github.com/aldryn/aldryn-apphooks-config/archive/master.zip
    https://github.com/nephila/djangocms-apphook-setup/archive/master.zip
    -r{toxinidir}/requirements-test.txt

[testenv:isort]
deps = isort
commands = isort -c -rc -df djangocms_blog tests
skip_install = true

[testenv:pep8]
deps = flake8
commands = flake8
skip_install = true

[testenv:docs]
deps =
    sphinx
    sphinx-rtd-theme
    -rrequirements-test.txt
changedir=docs
skip_install = true
commands=
    sphinx-build -W -b html -d {envtmpdir}/doctrees .  {toxinidir}/docs/_build/html<commit_msg>Pin html5lib<commit_after>[tox]
envlist = pep8,isort,docs,py{35,34,27}-django{19}-{cms33,cms32,knocker},py{35,34,33,27}-django{18}-cms{33,32}

[testenv]
commands = {env:COMMAND:python} cms_helper.py test djangocms_blog
deps =
    django18: Django>=1.8,<1.9
    django18: django-mptt>=0.8
    django18: django-filer<1.3
    django18: cmsplugin-filer<1.2
    django18: django-haystack
    django19: Django>=1.9,<1.10
    django19: django-mptt>=0.8
    django19: django-filer<1.3
    django19: cmsplugin-filer<1.2
    cms32: https://github.com/divio/django-cms/archive/release/3.2.x.zip
    cms32: djangocms-text-ckeditor<3.0
    cms33: https://github.com/divio/django-cms/archive/release/3.3.x.zip
    cms33: djangocms-text-ckeditor>=3.0
    knocker: https://github.com/divio/django-cms/archive/release/3.2.x.zip
    knocker: channels>=0.15
    knocker: https://github.com/nephila/django-knocker/archive/master.zip?0.1.1
    knocker: djangocms-text-ckeditor<3.0
    django-meta>=1.2
    html5lib<0.99999999
    https://github.com/nephila/djangocms-helper/archive/develop.zip
    https://github.com/aldryn/aldryn-apphooks-config/archive/master.zip
    https://github.com/nephila/djangocms-apphook-setup/archive/master.zip
    -r{toxinidir}/requirements-test.txt

[testenv:isort]
deps = isort
commands = isort -c -rc -df djangocms_blog tests
skip_install = true

[testenv:pep8]
deps = flake8
commands = flake8
skip_install = true

[testenv:docs]
deps =
    sphinx
    sphinx-rtd-theme
    html5lib<0.99999999
    -rrequirements-test.txt
changedir=docs
skip_install = true
commands=
    sphinx-build -W -b html -d {envtmpdir}/doctrees .  {toxinidir}/docs/_build/html
{'fraction_non_alphanumeric': 0.14961832061068703, 'fraction_numerical': 0.06564885496183206, 'mean_word_length': 3.789473684210526, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 17, 'https://': 14, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, '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': '1573965', 'n_tokens_mistral': 1442, 'n_tokens_neox': 1345, 'n_words': 170}