Skip to content

Commit 6139663

Browse files
committed
Flake8 should ignore build folder
This adds 'build' to the exclude list for flake8 Fixes bug 1198329 Change-Id: Ia3688a2fc0334d32d89f04d114242d39bdc25f0e
1 parent fca985c commit 6139663

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

run_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ function run_pep8 {
135135
# NOTE(heckj): E125, E126 are being ignored matching other openstack projects
136136
# for pep 1.3.3 due to relatively arbitrary line indentation rulings
137137
${wrapper} pep8 --repeat --show-pep8 --show-source \
138-
--ignore=E125,E126 --exclude=.venv,.tox,dist,doc \
138+
--ignore=E125,E126 --exclude=.venv,.tox,dist,doc,build \
139139
${srcfiles}
140140
}
141141

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ downloadcache = ~/cache/pip
4141
# H802: git commit title
4242
ignore = F811,F821,F841,H201,H202,H302,H304,H306,H402,H403,H404,H802
4343
show-source = True
44-
exclude = .venv,.tox,dist,doc,*egg
44+
exclude = .venv,.tox,dist,doc,*egg,build

0 commit comments

Comments
 (0)