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:
parent
332195f19c
commit
3462561c46
2
tox.ini
2
tox.ini
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user