From 8344c5ce652f48841b570d7a4673b45442957d46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Beraud?= Date: Fri, 20 Dec 2019 11:14:00 +0100 Subject: [PATCH] tox: Trivial cleanup Move 'basepython' to the top-level 'testenv'. Use the default 'install_command' https://tox.readthedocs.io/en/latest/config.html#conf-install_command Change-Id: I792f90f68c1f9f9848445c8ba8f9f7a207806fc5 --- tox.ini | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index 25acc21..98f47d8 100644 --- a/tox.ini +++ b/tox.ini @@ -1,22 +1,21 @@ [tox] -minversion = 2.0 +minversion = 3.1 envlist = docs skipsdist = True +ignore_basepython_conflict = True [testenv] +basepython = python3 usedevelop = True -install_command = pip install -U {opts} {packages} setenv = VIRTUAL_ENV={envdir} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt [testenv:venv] -basepython = python3 commands = {posargs} [testenv:docs] -basepython = python3 whitelist_externals = rm deps =