30 lines
583 B
INI
30 lines
583 B
INI
[tox]
|
|
minversion = 2.0
|
|
envlist = docs,pep8
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
basepython = python3
|
|
usedevelop = True
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
install_command = pip install {opts} {packages}
|
|
deps =
|
|
-r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:pep8]
|
|
commands = doc8 -v doc README.rst
|
|
|
|
[testenv:docs]
|
|
commands = sphinx-build -E -W -b html -d doc/build/doctrees doc/source doc/build/html
|
|
|
|
[doc8]
|
|
# Settings for doc8:
|
|
# Ignore build directory
|
|
ignore-path = doc/build/
|
|
# File extensions to use
|
|
extensions = .rst,.txt
|