From 401f10c90c912cd63da4cee6458bbeea6b19b369 Mon Sep 17 00:00:00 2001 From: Giulia Naponiello Date: Feb 04 2020 10:54:49 +0000 Subject: Fix tox Some rpm is needed to run correctly tox. So let's set sitepackages == true to to create virtual environments that also have access to globally installed packages. Signed-off-by: Giulia Naponiello --- diff --git a/tox.ini b/tox.ini index 6e046de..8f0eed6 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ # and then run "tox" from this directory. [tox] -envlist = py36, flake8, bandit +envlist = py37, flake8, bandit [testenv] skip_install = True @@ -17,6 +17,7 @@ commands = -W "ignore:This method will be removed in future versions. Use 'parser.read_file()':DeprecationWarning" \ -W "ignore:Use .persist_selectable:DeprecationWarning" \ {posargs} +sitepackages=true [testenv:flake8] basepython = python3