mirror of
https://github.com/correl/tornado-openapi3.git
synced 2024-12-29 11:09:28 +00:00
Add tox config and broaden tornado support
This commit is contained in:
parent
eb930381da
commit
75c17a16c8
2 changed files with 18 additions and 1 deletions
|
@ -11,7 +11,7 @@ packages = [
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = "^3.7"
|
python = "^3.7"
|
||||||
tornado = "^6"
|
tornado = "^4 || ^5 || ^6"
|
||||||
openapi-core = "^0.13.4"
|
openapi-core = "^0.13.4"
|
||||||
|
|
||||||
[tool.poetry.dev-dependencies]
|
[tool.poetry.dev-dependencies]
|
||||||
|
|
17
tox.ini
Normal file
17
tox.ini
Normal 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
|
Loading…
Reference in a new issue