From 628381636054303ecedd4bcc58fd536c9b539df9 Mon Sep 17 00:00:00 2001 From: Paul Hummer Date: Wed, 21 Sep 2016 14:24:16 -0600 Subject: [PATCH] Narrow down the flake8 call Some recent tempest additions seemed to be confusing my tox flake8 run. Upon investigating, I learned that we're running flake8 on much more than the needed scope that we care about/have control over. Change-Id: I4ac42b53fb2f9ab9286d82beb6a61042ef57c481 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 2c746933..fe9a5cb8 100644 --- a/tox.ini +++ b/tox.ini @@ -27,7 +27,7 @@ commands = /bin/cp -r {toxinidir}/nova/virt/lxd/ {toxinidir}/.tox/py34/src/nova/ python setup.py testr --slowest --testr-args='{posargs}' [testenv:pep8] -commands = flake8 +commands = flake8 {toxinidir}/nova [testenv:venv] commands = {posargs}