daphne/tox.ini
Adam Johnson 0cb82000b5 Lint with pre-commit
* Move existing tox qa hooks into pre-commit.
* Set up GitHub Action based on https://github.com/pre-commit/action/ (we could also use https://pre-commit.ci ).
* Add `pyupgrade` to drop old Python syntax.
* Add `flake8-bugbear` plugin to prevent flake8 errors.
2021-04-06 18:17:34 +01:00

13 lines
209 B
INI

[tox]
envlist =
py{36,37,38,39}-twisted{187,latest}
[testenv]
usedevelop = true
extras = tests
commands =
pytest -v {posargs}
deps =
twisted187: twisted==18.7.0
twistedlatest: twisted>=20.3.0