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:
		| @@ -135,7 +135,7 @@ function run_pep8 { | |||||||
|   # NOTE(heckj): E125, E126 are being ignored matching other openstack projects |   # NOTE(heckj): E125, E126 are being ignored matching other openstack projects | ||||||
|   # for pep 1.3.3 due to relatively arbitrary line indentation rulings |   # for pep 1.3.3 due to relatively arbitrary line indentation rulings | ||||||
|   ${wrapper} pep8 --repeat --show-pep8 --show-source \ |   ${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} |     ${srcfiles} | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								tox.ini
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								tox.ini
									
									
									
									
									
								
							| @@ -41,4 +41,4 @@ downloadcache = ~/cache/pip | |||||||
| # H802: git commit title | # H802: git commit title | ||||||
| ignore = F811,F821,F841,H201,H202,H302,H304,H306,H402,H403,H404,H802 | ignore = F811,F821,F841,H201,H202,H302,H304,H306,H402,H403,H404,H802 | ||||||
| show-source = True | show-source = True | ||||||
| exclude = .venv,.tox,dist,doc,*egg | exclude = .venv,.tox,dist,doc,*egg,build | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Alex Meade
					Alex Meade