H803 isn't supported by community consensus. Blacklist it to avoid breaking folk's muscle memory. Change-Id: I8eea9eb2562e12136018e762c8a5e23527fcf48f
		
			
				
	
	
		
			32 lines
		
	
	
		
			847 B
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			847 B
		
	
	
	
		
			INI
		
	
	
	
	
	
[tox]
 | 
						|
envlist = py26,py27,pep8
 | 
						|
 | 
						|
[testenv]
 | 
						|
setenv = LANG=en_US.UTF-8
 | 
						|
         LANGUAGE=en_US:en
 | 
						|
         LC_ALL=C
 | 
						|
deps= -r{toxinidir}/test-requirements.txt
 | 
						|
commands=
 | 
						|
    bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi'
 | 
						|
    bash -c 'testr run --parallel {posargs} ; RET=$?; echo "Slowest Tests" ; testr slowest && exit $RET'
 | 
						|
 | 
						|
[testenv:pep8]
 | 
						|
commands =
 | 
						|
  flake8 {posargs}
 | 
						|
 | 
						|
[testenv:venv]
 | 
						|
commands = {posargs}
 | 
						|
 | 
						|
[testenv:cover]
 | 
						|
setenv = PYTHON=coverage run --source diskimage_builder
 | 
						|
commands = bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi'
 | 
						|
           bash -c 'testr run --parallel ; RET=$? ; coverage combine ; coverage html -d ./cover $OMIT && exit $RET'
 | 
						|
 | 
						|
[tox:jenkins]
 | 
						|
downloadcache = ~/cache/pip
 | 
						|
 | 
						|
[flake8]
 | 
						|
ignore = E125,H803
 | 
						|
builtins = _
 | 
						|
exclude =  .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
 |