From 6139663e09c52c19fa218a220a5d44733e641966 Mon Sep 17 00:00:00 2001 From: Alex Meade Date: Fri, 5 Jul 2013 17:23:46 -0400 Subject: [PATCH] Flake8 should ignore build folder This adds 'build' to the exclude list for flake8 Fixes bug 1198329 Change-Id: Ia3688a2fc0334d32d89f04d114242d39bdc25f0e --- run_tests.sh | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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