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
This commit is contained in:
Monty Taylor 2016-08-20 10:14:06 -05:00
parent 332195f19c
commit 3462561c46
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594

View File

@ -36,7 +36,7 @@ passenv = OS_*
commands = python setup.py testr --slowest --testr-args='--concurrency=1 {posargs}' commands = python setup.py testr --slowest --testr-args='--concurrency=1 {posargs}'
[testenv:pep8] [testenv:pep8]
commands = flake8 commands = flake8 shade
[testenv:venv] [testenv:venv]
commands = {posargs} commands = {posargs}