Limit pep8 checks to our source
Exclude the .update-env directory, including anything installed there from third-party packages, when running pep8. Change-Id: I2c2ee9146cbf2f5449f7f8d042b578ec3d8d2b83 Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
This commit is contained in:
2
tox.ini
2
tox.ini
@@ -16,7 +16,7 @@ commands = nosetests {posargs}
|
||||
|
||||
[testenv:pep8]
|
||||
deps = pep8==1.3.3
|
||||
commands = pep8 --repeat --show-source --ignore=E125 --exclude=.venv,.tox,dist,doc,*.egg .
|
||||
commands = pep8 --repeat --show-source --ignore=E125 --exclude=.venv,.tox,dist,doc,*.egg,.update-venv .
|
||||
|
||||
[testenv:cover]
|
||||
setenv = NOSE_WITH_COVERAGE=1
|
||||
|
||||
Reference in New Issue
Block a user