37 lines
751 B
INI
37 lines
751 B
INI
[tox]
|
|
minversion = 2.0
|
|
envlist = pep8,docs
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
install_command = pip install -U {opts} {packages}
|
|
setenv =
|
|
VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
|
|
|
[testenv:venv]
|
|
basepython = python3
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
basepython = python3
|
|
commands = python setup.py build_sphinx
|
|
|
|
[testenv:spelling]
|
|
deps =
|
|
-r{toxinidir}/requirements.txt
|
|
sphinxcontrib-spelling
|
|
PyEnchant
|
|
commands = sphinx-build -b spelling doc/source doc/build/spelling
|
|
|
|
[testenv:pep8]
|
|
basepython = python3
|
|
commands = flake8
|
|
|
|
[flake8]
|
|
show-source = True
|
|
ignore = E123,E125,D100
|
|
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
|