From 2afe65535bdd18eabbc0eb7265f67b8003317af9 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Fri, 7 Jan 2022 18:22:28 +0000 Subject: [PATCH] Simplify tox 'deps' setting It can be templated, who knew? --- tox.ini | 61 +-------------------------------------------------------- 1 file changed, 1 insertion(+), 60 deletions(-) diff --git a/tox.ini b/tox.ini index d087177..477bc7b 100644 --- a/tox.ini +++ b/tox.ini @@ -9,65 +9,6 @@ envlist = [testenv] commands = python -W error::DeprecationWarning -W error::PendingDeprecationWarning -m coverage run -m pytest {posargs:tests} +deps = -r requirements/{envname}.txt setenv = PYTHONDEVMODE=1 - -[testenv:py36-django22] -deps = -rrequirements/py36-django22.txt - -[testenv:py36-django30] -deps = -rrequirements/py36-django30.txt - -[testenv:py36-django31] -deps = -rrequirements/py36-django31.txt - -[testenv:py36-django32] -deps = -rrequirements/py36-django32.txt - -[testenv:py37-django22] -deps = -rrequirements/py37-django22.txt - -[testenv:py37-django30] -deps = -rrequirements/py37-django30.txt - -[testenv:py37-django31] -deps = -rrequirements/py37-django31.txt - -[testenv:py37-django32] -deps = -rrequirements/py37-django32.txt - -[testenv:py38-django22] -deps = -rrequirements/py38-django22.txt - -[testenv:py38-django30] -deps = -rrequirements/py38-django30.txt - -[testenv:py38-django31] -deps = -rrequirements/py38-django31.txt - -[testenv:py38-django32] -deps = -rrequirements/py38-django32.txt - -[testenv:py38-django40] -deps = -rrequirements/py38-django40.txt - -[testenv:py39-django22] -deps = -rrequirements/py39-django22.txt - -[testenv:py39-django30] -deps = -rrequirements/py39-django30.txt - -[testenv:py39-django31] -deps = -rrequirements/py39-django31.txt - -[testenv:py39-django32] -deps = -rrequirements/py39-django32.txt - -[testenv:py39-django40] -deps = -rrequirements/py39-django40.txt - -[testenv:py310-django32] -deps = -rrequirements/py310-django32.txt - -[testenv:py310-django40] -deps = -rrequirements/py310-django40.txt