Add tox config and broaden tornado support

This commit is contained in:
Correl Roush 2020-09-25 10:15:06 -04:00
parent eb930381da
commit 75c17a16c8
2 changed files with 18 additions and 1 deletions

View file

@ -11,7 +11,7 @@ packages = [
[tool.poetry.dependencies]
python = "^3.7"
tornado = "^6"
tornado = "^4 || ^5 || ^6"
openapi-core = "^0.13.4"
[tool.poetry.dev-dependencies]

17
tox.ini Normal file
View file

@ -0,0 +1,17 @@
[tox]
isolated_build=true
envlist = {py37,py38}-tornado{4,5,6}
[testenv]
deps =
tornado4: tornado>=4,<5
tornado5: tornado>=5,<6
tornado6: tornado>=6,<7
mypy
hypothesis
flake8
pytest
pytest-flake8
pytest-mypy
whitelist_externals = poetry
commands = py.test