oslosphinx is the old hotness. openstackdocstheme is the new hotness. Also, we can use doc/requirements.txt for docs requirements. Change-Id: I9cbc670c8fb065d240251f061919479c87193ff5
		
			
				
	
	
		
			38 lines
		
	
	
		
			870 B
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			870 B
		
	
	
	
		
			INI
		
	
	
	
	
	
[tox]
 | 
						|
envlist = pep8,docs,py27,py37,py36,py35,py34
 | 
						|
 | 
						|
[testenv]
 | 
						|
install_command = pip install -U {opts} {packages}
 | 
						|
setenv =
 | 
						|
    VIRTUAL_ENV={envdir}
 | 
						|
 | 
						|
commands =
 | 
						|
  python -m git_review.tests.check_test_id_hashes discover --list
 | 
						|
  python -m git_review.tests.prepare
 | 
						|
  python setup.py testr --slowest --testr-args='--concurrency=2 {posargs}'
 | 
						|
 | 
						|
deps =
 | 
						|
    -r{toxinidir}/requirements.txt
 | 
						|
    -r{toxinidir}/test-requirements.txt
 | 
						|
 | 
						|
[testenv:pep8]
 | 
						|
commands = flake8
 | 
						|
 | 
						|
[testenv:sdist]
 | 
						|
commands = python setup.py sdist {posargs}
 | 
						|
 | 
						|
[testenv:docs]
 | 
						|
deps =
 | 
						|
    -r{toxinidir}/requirements.txt
 | 
						|
    -r{toxinidir}/doc/requirements.txt
 | 
						|
commands =
 | 
						|
  sphinx-build -W -d doc/build/doctrees -b html doc/source/ doc/build/html
 | 
						|
 | 
						|
[testenv:venv]
 | 
						|
commands = {posargs}
 | 
						|
 | 
						|
[flake8]
 | 
						|
ignore = E125,H202,H405,H904
 | 
						|
show-source = True
 | 
						|
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
 |