mirror of
https://github.com/django/daphne.git
synced 2024-11-24 08:53:43 +03:00
24 lines
377 B
INI
24 lines
377 B
INI
|
[tox]
|
||
|
envlist =
|
||
|
py{36,37,38,39}-twisted{187,latest}
|
||
|
qa
|
||
|
|
||
|
[testenv]
|
||
|
usedevelop = true
|
||
|
extras = tests
|
||
|
commands =
|
||
|
pytest -v {posargs}
|
||
|
deps =
|
||
|
twisted187: twisted==18.7.0
|
||
|
twistedlatest: twisted>=20.3.0
|
||
|
|
||
|
[testenv:qa]
|
||
|
deps =
|
||
|
black
|
||
|
flake8
|
||
|
isort
|
||
|
commands =
|
||
|
flake8 daphne tests
|
||
|
black --check daphne tests
|
||
|
isort --check-only --diff daphne tests
|