add docs job to tox.ini
Create a job so you can build documentation locally Change-Id: Ie86f3463acd95dc2b8acc0849193cc2157991996
This commit is contained in:
parent
650ee38a6b
commit
c65d3551e7
5
tox.ini
5
tox.ini
@ -21,6 +21,9 @@ commands = {posargs}
|
||||
[testenv:cover]
|
||||
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
||||
|
||||
[testenv:docs]
|
||||
commands = python setup.py build_sphinx
|
||||
|
||||
[flake8]
|
||||
# H803 skipped on purpose per list discussion.
|
||||
# E123, E125 skipped as they are invalid PEP-8.
|
||||
@ -28,4 +31,4 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
|
||||
show-source = True
|
||||
ignore = E123,E125,H803
|
||||
builtins = _
|
||||
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|
||||
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|
||||
|
Loading…
x
Reference in New Issue
Block a user