mirror of
https://github.com/django/daphne.git
synced 2024-12-01 03:43:43 +03:00
ca61162129
* 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. * Drop custom GHA
13 lines
209 B
INI
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
|