Merge "adding a tox environment for docs"
This commit is contained in:
commit
b8449e259e
@ -11,6 +11,7 @@ oslotest>=1.10.0 # Apache-2.0
|
|||||||
python-subunit>=0.0.18 # Apache-2.0/BSD
|
python-subunit>=0.0.18 # Apache-2.0/BSD
|
||||||
testrepository>=0.0.18 # Apache-2.0/BSD
|
testrepository>=0.0.18 # Apache-2.0/BSD
|
||||||
testtools>=1.4.0 # MIT
|
testtools>=1.4.0 # MIT
|
||||||
|
doc8 # Apache-2.0
|
||||||
|
|
||||||
# Doc requirements
|
# Doc requirements
|
||||||
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD
|
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD
|
||||||
|
4
tox.ini
4
tox.ini
@ -25,6 +25,10 @@ commands = oslo_debug_helper {posargs}
|
|||||||
basepython = python3.4
|
basepython = python3.4
|
||||||
commands = oslo_debug_helper {posargs}
|
commands = oslo_debug_helper {posargs}
|
||||||
|
|
||||||
|
[testenv:docs]
|
||||||
|
commands = python setup.py build_sphinx
|
||||||
|
doc8 doc/source
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
commands =
|
commands =
|
||||||
flake8 {posargs}
|
flake8 {posargs}
|
||||||
|
Loading…
Reference in New Issue
Block a user