almanach/tox.ini
Paul Millette 3262ba7b82 Generate api documentation using sphinx and autoflask
- add autoflask to index.rst
- add pydocs for all methods
- move app out of AlmanachApi so autoflask can see it

Change-Id: I83e1af74507091774d1eff86fa1d07a237d69729
2016-10-07 14:25:43 -04:00

25 lines
445 B
INI

[tox]
envlist = py27,py34,py35,pep8
[testenv]
deps =
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
setenv =
PYTHONPATH = {toxinidir}
commands = nosetests --tests tests
[testenv:venv]
commands = {posargs}
[testenv:pep8]
deps = -r{toxinidir}/test-requirements.txt
commands = flake8 {posargs}
[testenv:docs]
commands = python setup.py build_sphinx --fresh-env
[flake8]
show-source = True
max-line-length = 120