34 lines
		
	
	
		
			818 B
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			818 B
		
	
	
	
		
			INI
		
	
	
	
	
	
[tox]
 | 
						|
minversion = 1.6
 | 
						|
skipsdist = True
 | 
						|
envlist = py27,pep8,pylint
 | 
						|
 | 
						|
[testenv]
 | 
						|
usedevelop = True
 | 
						|
setenv = VIRTUAL_ENV={envdir}
 | 
						|
deps = -r{toxinidir}/requirements.txt
 | 
						|
       -r{toxinidir}/test-requirements.txt
 | 
						|
install_command = pip install -U --force-reinstall {opts} {packages}
 | 
						|
commands = nosetests hnv_client/tests
 | 
						|
 | 
						|
[testenv:pep8]
 | 
						|
commands = flake8 hnv_client {posargs}
 | 
						|
deps = flake8
 | 
						|
 | 
						|
[testenv:pylint]
 | 
						|
commands = pylint hnv_client --rcfile={toxinidir}/.pylintrc {posargs}
 | 
						|
deps = pylint
 | 
						|
 | 
						|
[testenv:venv]
 | 
						|
commands = {posargs}
 | 
						|
 | 
						|
[nosetests]
 | 
						|
verbosity = 1
 | 
						|
detailed-errors = 1
 | 
						|
 | 
						|
[flake8]
 | 
						|
# E125 is deliberately excluded. See https://github.com/jcrocholl/pep8/issues/126
 | 
						|
# E251 Skipped due to https://github.com/jcrocholl/pep8/issues/301
 | 
						|
ignore = E125,E251,H405
 | 
						|
exclude =  .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools
 |