<commit_before>[tox]
envlist =
  pypy3-dj{22,30,31}
  py{36,37,38,39}-dj{22,30,31,32}
  py{38,39}-djmain
  docs

[gh-actions]
python =
    3.6: py36
    3.7: py37
    3.8: py38, docs
    3.9: py39
    pypy3: pypy3

[gh-actions:env]
DJANGO =
    2.2: dj22
    3.0: dj30
    3.1: dj31
    3.2: dj32
    main: djmain

[testenv]
basepython =
  pypy3: pypy3
  py36: python3.6
  py37: python3.7
  py38: python3.8
  py39: python3.9
deps =
  pypy3: mock
  dj22: Django>=2.2.1,<2.3
  dj30: Django>=3.0,<3.1
  dj31: Django>=3.1,<3.2
  dj32: Django>=3.2,<3.3
  djmain: https://github.com/django/django/archive/main.tar.gz
  jinja2
  coverage
  jsmin==2.2.0
  ply==3.4
  slimit==0.8.1
  css-html-js-minify==2.5.5
setenv =
    DJANGO_SETTINGS_MODULE = tests.settings
    PYTHONPATH = {toxinidir}
commands =
    npm install
    {envbindir}/coverage run --source pipeline {envbindir}/django-admin test {posargs:tests}
    {envbindir}/coverage report
    {envbindir}/coverage xml
whitelist_externals = npm
ignore_outcome =
    djmain: True
ignore_errors =
    djmain: True

[testenv:docs]
basepython = python3.8
changedir = docs
deps = sphinx
commands =
    {envbindir}/sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
<commit_msg>Bump jsmin dependency to 3.0.0 to work around use_2to3 issue. (#757)<commit_after>[tox]
envlist =
  pypy3-dj{22,30,31}
  py{36,37,38,39}-dj{22,30,31,32}
  py{38,39}-djmain
  docs

[gh-actions]
python =
    3.6: py36
    3.7: py37
    3.8: py38, docs
    3.9: py39
    pypy3: pypy3

[gh-actions:env]
DJANGO =
    2.2: dj22
    3.0: dj30
    3.1: dj31
    3.2: dj32
    main: djmain

[testenv]
basepython =
  pypy3: pypy3
  py36: python3.6
  py37: python3.7
  py38: python3.8
  py39: python3.9
deps =
  pypy3: mock
  dj22: Django>=2.2.1,<2.3
  dj30: Django>=3.0,<3.1
  dj31: Django>=3.1,<3.2
  dj32: Django>=3.2,<3.3
  djmain: https://github.com/django/django/archive/main.tar.gz
  jinja2
  coverage
  jsmin==3.0.0
  ply==3.4
  slimit==0.8.1
  css-html-js-minify==2.5.5
setenv =
    DJANGO_SETTINGS_MODULE = tests.settings
    PYTHONPATH = {toxinidir}
commands =
    npm install
    {envbindir}/coverage run --source pipeline {envbindir}/django-admin test {posargs:tests}
    {envbindir}/coverage report
    {envbindir}/coverage xml
whitelist_externals = npm
ignore_outcome =
    djmain: True
ignore_errors =
    djmain: True

[testenv:docs]
basepython = python3.8
changedir = docs
deps = sphinx
commands =
    {envbindir}/sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html

{'fraction_non_alphanumeric': 0.14359381197937326, 'fraction_numerical': 0.09758032526775089, 'mean_word_length': 3.0416666666666665, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '1279979', 'n_tokens_mistral': 1268, 'n_tokens_neox': 1152, 'n_words': 218}