tox: Enable warnings

Let's try to minimize the chances of [1] hitting us in the future
through lots of annoying logging.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-August/008723.html

Change-Id: I70292634fa564e34381108fef55f3a8f9a20fa2e
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane 2019-08-26 21:46:26 +01:00 committed by Akihiro Motoki
parent 98d20a65d8
commit f8552fc958
1 changed files with 5 additions and 1 deletions

View File

@ -11,7 +11,11 @@ ignore_basepython_conflict = True
basepython = python3
usedevelop = True
setenv =
VIRTUAL_ENV={envdir}
VIRTUAL_ENV = {envdir}
PYTHONDONTWRITEBYTECODE = 1
PYTHONWARNINGS = once
py{3,36,37}:PYTHONWARNINGS = once,ignore::ImportWarning:backports
whitelist_externals =
bash
find