summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 8de02a1efce6dc2f3e703b8071cdceefae638bb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[tox]
minversion = 1.6
envlist = pep8

[testenv]
deps = -r{toxinidir}/test-requirements.txt

[testenv:pep8]
commands =
    flake8 oslosphinx

[testenv:venv]
commands = {posargs}

[testenv:docs]
commands = python setup.py build_sphinx

[flake8]
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools
show-source = True

[testenv:releasenotes]
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html