From 70737dc32a5bfca180dafc05f7b6ba41a5fb42fc Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sun, 28 Mar 2021 19:07:15 +0200 Subject: Allow verifying testapi MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It allows running tox vs py27 (epydoc forces py27). It also fixes 2 indent issues. Signed-off-by: Cédric Ollivier Change-Id: I63e28089a56147b359a72eb330b5badbc6fc7d7f --- testapi/tox.ini | 3 +++ 1 file changed, 3 insertions(+) (limited to 'testapi/tox.ini') diff --git a/testapi/tox.ini b/testapi/tox.ini index 9a06355..3092284 100644 --- a/testapi/tox.ini +++ b/testapi/tox.ini @@ -30,10 +30,12 @@ basepython=python2.7 commands = sphinx-build -W -b html docs/ docs/_build [testenv:pep8] +basepython=python2.7 deps = flake8 commands = flake8 {toxinidir} [flake8] +basepython=python2.7 # H803 skipped on purpose per list discussion. # E123, E125 skipped as they are invalid PEP-8. @@ -43,5 +45,6 @@ builtins = _ exclude = build,dist,doc,legacy,.eggs,.git,.tox,.venv,testapi_venv,venv [pytest] +basepython=python2.7 testpaths = opnfv_testapi/tests python_functions = test_* -- cgit 1.2.3-korg