Add tox configuration

Tox manages test environments for all supported Python versions, as
well as linting and formatting tools. On GitHub, the test and lint
steps are kept as close as possible to the Makefile equivalents.
This commit is contained in:
Martijn Pieters
2023-05-15 15:20:53 +01:00
parent 2eabc49d24
commit 0e9a8baeb2
5 changed files with 195 additions and 25 deletions

View File

@@ -42,10 +42,11 @@ pytest = "*"
requests = "*"
coverage = "^6.5.0"
httpx = "*"
tox = "^4.5.1"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.extras]
redis = ["redis"]