<commit_before>[tox]
envlist = style,docs,tests

[testenv]
basepython = python3

[testenv:style]
deps =
    black
    flake8
changedir = {toxinidir}
commands =
    black setup.py content_editor tests
    flake8 .
skip_install = true

[testenv:docs]
deps =
    Sphinx
changedir = docs
commands = make html
skip_install = true
whitelist_externals = make

[testenv:tests]
deps =
    Django
    django-js-asset
    coverage
changedir = {toxinidir}
skip_install = true
commands =
    python -Wd {envbindir}/coverage run tests/manage.py test -v 2 --keepdb {posargs:testapp}
    coverage html<commit_msg>Report coverage in the console<commit_after>[tox]
envlist = style,docs,tests

[testenv]
basepython = python3

[testenv:style]
deps =
    black
    flake8
changedir = {toxinidir}
commands =
    black setup.py content_editor tests
    flake8 .
skip_install = true

[testenv:docs]
deps =
    Sphinx
changedir = docs
commands = make html
skip_install = true
whitelist_externals = make

[testenv:tests]
deps =
    Django
    django-js-asset
    coverage
changedir = {toxinidir}
skip_install = true
commands =
    python -Wd {envbindir}/coverage run tests/manage.py test -v 2 --keepdb {posargs:testapp}
    coverage report -m
{'fraction_non_alphanumeric': 0.08799342105263158, 'fraction_numerical': 0.006578947368421052, 'mean_word_length': 3.772549019607843, 'pattern_counts': {'":': 0, '<': 3, '<?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': '5332863', 'n_tokens_mistral': 443, 'n_tokens_neox': 430, 'n_words': 112}