Check pep8 without ignoring D000
Currently, ironic ignores D000 check because of error: "D000 Cannot analyze code. Pygments package not found." Pygments is supported from: https://review.openstack.org/#/c/568729/ Change-Id: Ib942f47abf6facaf9967603914326aa3cb79bbd9
This commit is contained in:
parent
929eb6e311
commit
580d4338e2
@ -18,3 +18,4 @@ testscenarios>=0.4 # Apache-2.0/BSD
|
|||||||
WebTest>=2.0.27 # MIT
|
WebTest>=2.0.27 # MIT
|
||||||
bashate>=0.5.1 # Apache-2.0
|
bashate>=0.5.1 # Apache-2.0
|
||||||
flake8-import-order>=0.13 # LGPLv3
|
flake8-import-order>=0.13 # LGPLv3
|
||||||
|
Pygments>=2.2.0 # BSD
|
||||||
|
2
tox.ini
2
tox.ini
@ -35,7 +35,7 @@ commands =
|
|||||||
# the check and gate queues.
|
# the check and gate queues.
|
||||||
{toxinidir}/tools/run_bashate.sh {toxinidir}
|
{toxinidir}/tools/run_bashate.sh {toxinidir}
|
||||||
# Check the *.rst files
|
# Check the *.rst files
|
||||||
doc8 README.rst CONTRIBUTING.rst doc/source --ignore D001 --ignore D000
|
doc8 README.rst CONTRIBUTING.rst doc/source --ignore D001
|
||||||
# Check to make sure reno releasenotes created with 'reno new'
|
# Check to make sure reno releasenotes created with 'reno new'
|
||||||
{toxinidir}/tools/check-releasenotes.py
|
{toxinidir}/tools/check-releasenotes.py
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user