diff --git a/run_tests.sh b/run_tests.sh index 12ed568e1..264d3c04d 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -135,7 +135,7 @@ function run_pep8 { # NOTE(heckj): E125, E126 are being ignored matching other openstack projects # for pep 1.3.3 due to relatively arbitrary line indentation rulings ${wrapper} pep8 --repeat --show-pep8 --show-source \ - --ignore=E125,E126 --exclude=.venv,.tox,dist,doc \ + --ignore=E125,E126 --exclude=.venv,.tox,dist,doc,build \ ${srcfiles} } diff --git a/tox.ini b/tox.ini index 6ef1beb12..5fac7abad 100644 --- a/tox.ini +++ b/tox.ini @@ -41,4 +41,4 @@ downloadcache = ~/cache/pip # H802: git commit title ignore = F811,F821,F841,H201,H202,H302,H304,H306,H402,H403,H404,H802 show-source = True -exclude = .venv,.tox,dist,doc,*egg +exclude = .venv,.tox,dist,doc,*egg,build