[tox]
# Having the .tox directory in the project directory slows down the
# `pip install -e .` step required by `usedevelop = true` considerably.
# By moving it out of the way (~500MB), we trim test execution time by > 80%.
toxworkdir = {homedir}/.toxenvs/django-click
envlist =
    dj{22,30},flake8

[testenv]
usedevelop = true
passenv = LC_ALL, LANG, LC_CTYPE
setenv =
    DJANGO_SETTINGS_MODULE=testprj.settings
    PYTHONPATH={toxinidir}/djclick/test/testprj
deps =
    -rrequirements-test.txt
    dj22: django>=2.2,<2.3
    dj30: django>=3.0,<3.1
commands = py.test -rxs --cov-report= --cov-append --cov djclick {posargs:djclick}


[testenv:flake8]
commands = flake8 djclick


[flake8]
max-line-length = 100

[tox]
# Having the .tox directory in the project directory slows down the
# `pip install -e .` step required by `usedevelop = true` considerably.
# By moving it out of the way (~500MB), we trim test execution time by > 80%.
toxworkdir = {homedir}/.toxenvs/django-click
envlist =
    dj{22,30},flake8

[testenv]
usedevelop = true
passenv = LC_ALL, LANG, LC_CTYPE
setenv =
    DJANGO_SETTINGS_MODULE=testprj.settings
    PYTHONPATH={toxinidir}/djclick/test/testprj
deps =
    -rrequirements-test.txt
    dj22: django>=2.2,<2.3
    dj30: django>=3.0,<3.1
commands = py.test -rxs --cov-report= --cov-append --cov djclick {posargs:djclick}


[testenv:flake8]
commands = flake8 djclick


[flake8]
max-line-length = 88

Switch to 88 chars to be compliant with Black.
Switch to 88 chars to be compliant with Black.
