1[tox] 2envlist = 3 black 4 flake8 5 isort 6 docs 7 django22 8 django31 9 django32 10 djangomain 11isolated_build = true 12 13[testenv] 14commands = {envpython} -Wa -b -m django test --settings tests.settings 15deps = 16 django22: Django~=2.2.0 17 django31: Django>=3.1,<3.2 18 django32: Django>=3.2,<4.0 19 django40: Django>=4.0,<4.1 20 djangomain: https://github.com/django/django/archive/main.tar.gz 21 22[testenv:black] 23deps = black 24commands = black --check --diff . 25skip_install = true 26 27[testenv:flake8] 28deps = flake8 29commands = flake8 30skip_install = true 31 32[testenv:isort] 33deps = isort>=5.0.1 34commands = isort --check --diff . 35skip_install = true 36 37[testenv:docs] 38isolated_build = true 39deps = 40 readme_renderer 41 sphinx 42commands = 43 make -C docs html 44whitelist_externals = make 45 46[testenv:packaging] 47deps = 48 build 49 setuptools 50 twine 51 wheel 52skip_install = true 53commands = 54 python -m build 55 twine check dist/* 56