From b7dd8658e99d420cf2e208dc0ceddbb2922328d6 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Thu, 25 Apr 2019 11:13:47 +0100 Subject: [PATCH] Avoid annoying pip warnings Disable two annoying pip warnings which are kinda pointless. Change-Id: I8dd72e4f81094be53a78522237da54104c0a6eee --- tox.ini | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 678d7107b..3af300b6f 100644 --- a/tox.ini +++ b/tox.ini @@ -6,7 +6,11 @@ skip_missing_interpreters = True [testenv] usedevelop = True -setenv = VIRTUAL_ENV={envdir} +setenv = + VIRTUAL_ENV={envdir} + # Avoid 2020-01-01 warnings: https://github.com/pypa/pip/issues/6207 + PYTHONWARNINGS=ignore:DEPRECATION::pip._internal.cli.base_command + PIP_DISABLE_PIP_VERSION_CHECK=1 deps = -r{toxinidir}/test-requirements.txt -r{toxinidir}/requirements.txt whitelist_externals =