Merge "Enable doc8 style checker for *.rst files"
This commit is contained in:
commit
d7f94a9ffc
@ -61,9 +61,7 @@ A detailed reference is available here, and a short guide follows below:
|
|||||||
* Ubuntu: ``python-openwsman``'s most recent version is 2.4.3 which
|
* Ubuntu: ``python-openwsman``'s most recent version is 2.4.3 which
|
||||||
is enough.
|
is enough.
|
||||||
|
|
||||||
* Or build it yourself from::
|
* Or build it yourself from: https://github.com/Openwsman/openwsman
|
||||||
|
|
||||||
https://github.com/Openwsman/openwsman
|
|
||||||
|
|
||||||
* Enable the ``pxe_amt`` or ``agent_amt`` driver by adding it to the
|
* Enable the ``pxe_amt`` or ``agent_amt`` driver by adding it to the
|
||||||
configuration option ``enabled_drivers`` (typically located at
|
configuration option ``enabled_drivers`` (typically located at
|
||||||
|
@ -126,7 +126,7 @@ Overview
|
|||||||
``agent_pxe_oneview`` driver uses PXEBoot for boot and AgentDeploy for deploy.
|
``agent_pxe_oneview`` driver uses PXEBoot for boot and AgentDeploy for deploy.
|
||||||
|
|
||||||
Configuring and enabling the driver
|
Configuring and enabling the driver
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
1. Add ``agent_pxe_oneview`` to the list of ``enabled_drivers`` in
|
1. Add ``agent_pxe_oneview`` to the list of ``enabled_drivers`` in
|
||||||
``/etc/ironic/ironic.conf``. For example::
|
``/etc/ironic/ironic.conf``. For example::
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
# process, which may cause wedges in the gate later.
|
# process, which may cause wedges in the gate later.
|
||||||
hacking<0.11,>=0.10.0
|
hacking<0.11,>=0.10.0
|
||||||
coverage>=3.6 # Apache-2.0
|
coverage>=3.6 # Apache-2.0
|
||||||
|
doc8 # Apache-2.0
|
||||||
fixtures>=1.3.1 # Apache-2.0/BSD
|
fixtures>=1.3.1 # Apache-2.0/BSD
|
||||||
mock>=1.2 # BSD
|
mock>=1.2 # BSD
|
||||||
Babel>=1.3 # BSD
|
Babel>=1.3 # BSD
|
||||||
|
2
tox.ini
2
tox.ini
@ -31,6 +31,8 @@ commands =
|
|||||||
{toxinidir}/tools/run_bashate.sh {toxinidir}/devstack
|
{toxinidir}/tools/run_bashate.sh {toxinidir}/devstack
|
||||||
# Check that .po and .pot files are valid:
|
# Check that .po and .pot files are valid:
|
||||||
bash -c "find ironic -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null"
|
bash -c "find ironic -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null"
|
||||||
|
# Check the *.rst files
|
||||||
|
doc8 README.rst CONTRIBUTING.rst doc/source --ignore D001 --ignore D000
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
setenv = VIRTUAL_ENV={envdir}
|
setenv = VIRTUAL_ENV={envdir}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user