From 4d6ff3de71f12d2c5b4d1fc913ab7f6b3da924d9 Mon Sep 17 00:00:00 2001 From: junboli Date: Thu, 4 Jul 2019 10:27:56 -0400 Subject: [PATCH] Fix DEPRECATION WARNING for pep8 When we execute pep8 locally, we find there is DEPRECATION WARNING, This warning will be an error in tox4 and above, this change is to fix this. Change-Id: Iaebe8ffe3aa1b92956403c679600fad0098d8329 Partial-Bug: #1835386 Signed-off-by: junboli --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index e4ef08f8..150ac999 100644 --- a/tox.ini +++ b/tox.ini @@ -12,6 +12,7 @@ setenv = VIRTUAL_ENV={envdir} install_command = pip install -U {opts} {packages} commands = find {toxinidir} -type f -not -path '{toxinidir}/.tox/*' -not -path '*/__pycache__/*' -name '*.py[c|o]' -delete deps = -r{toxinidir}/test-requirements.txt +whitelist_externals = find [testenv:venv] basepython = python3