From 3462561c46e3cb53afa153e638741d0eb400418b Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Sat, 20 Aug 2016 10:14:06 -0500 Subject: [PATCH] Only run flake8 on shade directory I frequently have random test files and virtualenvs scattered in my working directory, so tox -epep8 gets frustrating. We don't have any files that need to be linted that are not in the shade directory - so go ahead and explicitly limit the invocation. Change-Id: I16d8f477ae08a1e54724991ccf4a169ae3b35369 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 5caa2b097..90ae81c94 100644 --- a/tox.ini +++ b/tox.ini @@ -36,7 +36,7 @@ passenv = OS_* commands = python setup.py testr --slowest --testr-args='--concurrency=1 {posargs}' [testenv:pep8] -commands = flake8 +commands = flake8 shade [testenv:venv] commands = {posargs}