
This repo is now testing only with Python 3, so let's make a few cleanups: - Remove obsolete sections from setup.cfg - Switch to using sphinx-build - Remove install_command from tox.ini, the default is fine - cleanup tox.ini - Update pbr requirement Change-Id: I0adc74190fa820434a46b2a6bf9247ca6eb3e51d
26 lines
507 B
INI
26 lines
507 B
INI
[tox]
|
|
minversion = 2.0
|
|
envlist = linters,docs
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
basepython = python3
|
|
setenv =
|
|
VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
commands = sphinx-build -W -b html doc/source doc/build/html
|
|
|
|
[testenv:spelling]
|
|
deps =
|
|
-r{toxinidir}/requirements.txt
|
|
sphinxcontrib-spelling
|
|
PyEnchant
|
|
commands = sphinx-build -b spelling doc/source doc/build/spelling
|