Flake8 should ignore build folder

This adds 'build' to the exclude list for flake8

Fixes bug 1198329

Change-Id: Ia3688a2fc0334d32d89f04d114242d39bdc25f0e
This commit is contained in:
Alex Meade
2013-07-05 17:23:46 -04:00
parent fca985c09e
commit 6139663e09
2 changed files with 2 additions and 2 deletions

View File

@@ -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}
}

View File

@@ -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